PDA

View Full Version : sshd-config sftp/scp w/o shell?


hapaboy
11th April 2005, 03:23 AM
I'm building a file server and having gone through this forum I've decided again a plain ftp server. Is there a way to configure sshd so that users can only use it like a ftp server and not be able to use it like telnet as well?

-Hapaboy

ghenry
11th April 2005, 12:16 PM
Yes, read man sshd

mccashin
21st April 2005, 05:33 AM

I'm building a file server and having gone through this forum I've decided again a plain ftp server. Is there a way to configure sshd so that users can only use it like a ftp server and not be able to use it like telnet as well?

-Hapaboy
You must be using a client that supports the sftp protocol. sshd does not interact with ftp clients.

Your can test the server from the command line with a command like:
sftp username@hostname