Synchronize a directory over sftp

Smoot Carl-Mitchell smoot at tic.com
Tue Jan 8 16:51:22 UTC 2008


On Tue, 2008-01-08 at 00:13 -0800, Sundar Nagarajan wrote:

> I believe SFTP uses SSH, and without SSH being enabled on the remote 
> server, the OP wouldn't be able to use SFTP either. There may be ways of 
> disabling interactive login using SSH while permitting SFTP, but 
> technically, the (open)ssh layer is being used.

Correct.  I should have been clearer.  You can disable remote shell
access and have SFTP enabled by setting the user's shell to the
sftp-server executable (/usr/lib/openssh/sftp-server)  I see this
restriction all the time with SFTP repositories.  
-- 
Smoot Carl-Mitchell
System/Network Architect
email: smoot at tic.com
cell: +1 602 421 9005
home: +1 480 922 7313




More information about the ubuntu-users mailing list