allow SFTP FTP but not SSH. Can ??

Aaron M. Hirsch aaronh at uptime.net
Mon May 2 20:29:34 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>> Sorry, May be I am too greedy to know different approach. If I
>> can even allow sftp not disallow SSH, that will be the best. I am
>> looking into rssh. But I seems to have problem understanding the
>> installation.

If you want to allow certain users sftp only access and not ssh or any
other service access you could change out the users shell with the
sftp-server binary.  This will allow users to sftp into the machine in
question, but allow them access to no other services.

- --
Aaron M. Hirsch

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCdo2tc70alSUhiSIRAibQAKCTJdAFxvofapRkM1IGWFj7FQruuwCdEmIe
UhMufEulYBWD8rjpWMkADPQ=
=vFrX
-----END PGP SIGNATURE-----


______________________________________________________________________
This e-mail message is intended only for the named recipient(s) above.
It may contain confidential information.  If you are not the intended
recipient you are hereby notified that any dissemination, distribution
or copying of this e-mail and any attachment(s) is strictly prohibited.
If you have received this e-mail in error, please immediately notify
the sender by replying to this e-mail and delete the message and any
attachment(s) from your system.




More information about the users mailing list