Free software like proftpd or wu-ftpd implemented under SSH


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Free software like proftpd or wu-ftpd implemented under SSH
# 1  
Old 08-06-2002
Free software like proftpd or wu-ftpd implemented under SSH

Anybody can to suggest to me a ftp software like proftpd or
wu-ftpd (ftp with chroot for users) implemented with tunneling under SSH.

Thanks in advance. Hugo.
# 2  
Old 08-06-2002
From: Timothy Carey

After doing a little more research, I answered my own question. For
those interested, here's how to do it:

1) Download and install ssh from ssh.com with the following option

./configure --enable-static

make ; make install.. blah blah

2)cd into the account you want to be chrooted and do the following:

> mkdir bin
> cd bin
> cp /usr/local/bin/ssh-dummy-shell.static .
> cp /usr/local/bin/sftp-server2.static .
> ln -s ssh-dummy-shell.static ssh-dummy-shell
> ln -s sftp-server2.static sftp-server

3) Configure sshd2_config by adding the following line:

ChRootUsers user1,user2

-or-

ChRootGroups group1,group2

4) Change the chrooted users shell to /bin/ssh-dummy-shell in
/etc/passwd (NO.. not /usr/local/bin/ssh-dummy-shell.. just use
/bin/ssh-dummy-shell)


Fire up sshd, and you should be all set..

-Tim
# 3  
Old 08-06-2002
This is the closest that I could find on chroot'ing sftp-server which is the sftp daemon that ships with OpenSSH.

http://www.der-keiler.de/Mailing-Lis...1-11/0092.html

The other idea is to use passive ftp and manually create (or script) the creation of the SSH tunnel between client and server.

The sftp-server will allow a connected user to roam the filesystem (just gave it a try).
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Free unix software

I used to have a free software on my computer to practice unix. Unfortunately, I had to rebuild the laptop after it was infected by a virus. Now I cannot remember the website where to download the software. Can anyone point me to a site? Thanks! (2 Replies)
Discussion started by: Ernst
2 Replies

2. UNIX Desktop Questions & Answers

how to check if a file ftpd to mainframe was actually ftpd

Hi All, I am ftping a file from unix to mainframe. Now the problem arises that i want to check if the file was ftpd or not. Is there any way i could do this? (4 Replies)
Discussion started by: vikas.rao11
4 Replies

3. UNIX Desktop Questions & Answers

want to know hot to get free unix software

:mad: :confused: (1 Reply)
Discussion started by: rolando
1 Replies
Login or Register to Ask a Question