28 Jan
2004
28 Jan
'04
16:27
-----Original Message----- From: Markus Gaugusch [mailto:markus@gaugusch.at] Sent: Wednesday, January 28, 2004 5:30 AM To: Manuel Balderrabano Cc: suse-security@suse.com Subject: Re: [suse-security] sftp with no ssh login
How can I allow users to log in using a sftp connection, but NOT allowing them to open a shell using ssh? Look for scponly or rssh at freshmeat.net
Another thing to try is put "logout" at the beginning of ~/.bash_login. Upon ssh login it will run the .bash_login and log them out. On sftp, it won't run ~/.bash_login so they can still sftp Ben