Re: How can I support ssh;

This is a discussion on Re: How can I support ssh; within the OpenSSH Development forums, part of the Networking and Network Related category; On Thu, May 08, 2008 at 06:15:04PM +0800, wenk-yahoo wrote: > I also want to limit users ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 4 Days Ago
Peter Stuge
 
Posts: n/a
Default Re: How can I support ssh;

On Thu, May 08, 2008 at 06:15:04PM +0800, wenk-yahoo wrote:
> I also want to limit users to browse and execute only my commamds .


To limit file browsing you could disable the SFTP subsystem
completely in sshd_config (comment out the line) or you could use a
chroot directory for users, along with the sftp-internal subsystem
introduced in 4.8p1. This directory would only contain the files that
users are allowed to access.


> root@fedora8 /#ssh 192.168.0.6
>
> then:
>
> CLI>
> CLI>allcmds
>
> adduser deleteuser sessionlist sessionkill allcmds.....//all commands are provided by me.


This is probably easiest done by creating a custom shell.


//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:28 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0