[Techtalk] sharing files - ssh and ftp
kim_dang1 at yahoo.com
Sat May 3 10:48:26 EST 2003
I will try this out.
> 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.
> Rasjid Wilcox
> Canberra, Australia UTC + 10
> Techtalk mailing list
> Techtalk at linuxchix.org
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
More information about the Techtalk