[Techtalk] sharing files - ssh and ftp

kim dang kim_dang1 at yahoo.com
Sat May 3 10:48:26 EST 2003


thanks,
I will try this out.
best,
kim


> I have just had a quick play with this, and it seems
> to work well.
> 
> Suppose you want user 'someuser' to only have sftp
> access, but no ordinary 
> shell access.  Then a simple
> 
> # chsh -s /usr/libexec/openssh/sftp-server someuser
> 
> seems to do the trick.
> 
> You can then use Filezilla on Windows or gFTP on
> Linux for a GUI SFTP client.  
> With gFTP you need to check 'Use SSH2 SFTP subsys'
> under FTP - Options - SSH.
> 
> If the user does try and log in using a normal ssh
> client, they get logged 
> straight into the sftp subsystem, and so they should
> be unable to run any 
> normal shell commands.
> 
> Cheers,
> 
> Rasjid.
> 
> -- 
> 
> Rasjid Wilcox
> Canberra, Australia  UTC + 10
> http://www.openminddev.net
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com


More information about the Techtalk mailing list