search for: sftpsh

Displaying 3 results from an estimated 3 matches for "sftpsh".

2001 Dec 27
2
sftp-server and chroot
...I can tell, there's a patch availble that modifies OpenSSH to chroot() based on a specific entry in /etc/passwd. Since, I personally, do not enjoy applying unofficial patches to released programs, I was looking for an alternative but found none. I've written a small sample program 'sftpsh' which acts as a shell replacement for sftp-only users. The 'sftpsh' is assigned to users in /etc/passwd and is used instead of fully functional shells such as /bin/bash. 'sftpsh' is primitive and only performs two tasks. First it changes the root directory to the user...
2002 Nov 11
0
changes to allow chroot'ed sftp
I have a use for sftp to run in a chroot jail. Since sftp doesn't quite work properly for that, I did the work to make it function like that. This required two different changes: sftpsh is a replacement for nologin. It works like nologin except under certain circumstances -- where it will start up sftp-server. The other part was to add an option to sftp-server. the '-c' option causes sftp-server to chroot(".");chdir("/"); (the latter being to avoid...
2002 Nov 18
1
(no subject)
Good morning, I am david pierrot ingeener for it company. We nned to install a ssh client and ssh server (linux and win 2000) we have have problem , could you tell me please if this thing is possible. we want that users on ssh can only use sftp or scp but we do not want thath they can be use roo command or something elese. with sshd command it is possible to use telnet by port 22, do you think