RE: allow only sftp?
From: John Tackman (email@example.com)
Date: Fri, 11 Apr 2003 10:55:35 +0300 From: "John Tackman" <firstname.lastname@example.org> To: "Ben Lindstrom" <email@example.com>, "Chris Travers" <firstname.lastname@example.org>
> > > I need to allow a user only sftp access, but deny them ssh access?
> > > Is this possible, and if so, how do I do it?
> setting the shell to /bin/false will stop subsystems from
> working period.
Alternatively, if you dont want to stop logins from working for people (for example still allow them other logins than ssh for some weird reason) just turn off all authentications in the sshd_config file.
-- John This transmission is intended only for the individual or entity to which it is addressed. The message may contain information that is private and confidential. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any distribution, dissemination or copying of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by returning the e-mail and delete the original message. Thank You. The content of this message is not given or endorsed by HEX. HEX reserves the right to monitor all e-mail communications through its networks. The attachments have been scanned for viruses prior to leaving our e-mail server. HEX shall not be liable for any consequences of any virus being passed on.