tuxdna | 10 Oct 08:11
Picon

HowTo: access SFTP only ( exclude ssh shell )

Hi,

I had been wondering if anyone has experience with setting up a user account
for only sftp/scp access. The user is not allowed to obtain shell access
through ssh.

Infact the user should be allowed file transfer facilities only.

I found two solutions:

1. configure a user for login inside a chroot jail ( allowing ssh access )
-- the user can have shell access but inside chroot jail only

2. use rsssh ( http://www.pizzashack.org/rssh/ ) for scp/sftp only access
-- there might be some security issues as noted on the website

Can somebody through some words of wisdom for the purpose and which of the
above options should I choose?

Maybe there is some other way I can go.

Thanks in advance.
_______________________________________________
ilugd mailinglist -- ilugd@...
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd-cunTk1MwBs8/MmOfgqcDl+ys7Bb73OIl <at> public.gmane.org/


Gmane