Operating System - Linux
1751969 Members
4892 Online
108783 Solutions
New Discussion юеВ

Question about SSH - SFTP

 
hamidr
Frequent Advisor

Question about SSH - SFTP

Hi dear memebers.

I want to disable ssh login while allowing users to use the inernal sftp functionality supported by ssh service. Is there anyway I can achieve this?
I must mentions that I'm not trying to use FTP service. I want to use the SFTP provided by SSH.
Regards.
4 REPLIES 4
Michal Kapalka (mikap)
Honored Contributor

Re: Question about SSH - SFTP

hi,

check this link :

http://www.cyberciti.biz/tips/rhel-centos-linux-install-configure-rssh-shell.html

with a restricted shell it is possible.

mikap
Ivan Ferreira
Honored Contributor

Re: Question about SSH - SFTP

Please refer to this link:

http://www.debian-administration.org/articles/94
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
RColliard
New Member

Re: Question about SSH - SFTP

Starting with OpenSSH 4.9p1, it is possible to configure chroot by default and limit SFTP access.

Have a look here :
http://blogs.techrepublic.com.com/opensource/?p=229
Tim Nelson
Honored Contributor

Re: Question about SSH - SFTP

Just make the shell for the user /opt/ssh/utils/sftponly