Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
tunnelling ftp through ssh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
luizgap
n00b
n00b


Joined: 18 Aug 2005
Posts: 12

PostPosted: Wed Aug 31, 2005 1:55 pm    Post subject: tunnelling ftp through ssh Reply with quote

Hi guys

How can i tunnel ftp through ssh, so the clients' usernames and passwords won't go clear in the net?

Do i need to recompile the ftp server? In my case is pure-ftpd.

I hope there is a solution that i can apply in the client-side.

Thank you very much, Luiz Gustavo
Back to top
View user's profile Send private message
nbensa
l33t
l33t


Joined: 10 Jul 2002
Posts: 799
Location: Buenos Aires, Argentina

PostPosted: Wed Aug 31, 2005 1:56 pm    Post subject: Reply with quote

sftp
Back to top
View user's profile Send private message
luizgap
n00b
n00b


Joined: 18 Aug 2005
Posts: 12

PostPosted: Wed Aug 31, 2005 2:11 pm    Post subject: Reply with quote

Ok, but in this case is sshd that answers the connection, is that right?

And i need to able users to access shell, don't i?
Back to top
View user's profile Send private message
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Wed Aug 31, 2005 2:15 pm    Post subject: Reply with quote

luizgap wrote:
Ok, but in this case is sshd that answers the connection, is that right?


Yes.

luizgap wrote:

And i need to able users to access shell, don't i?


Not sure what you're asking.
Back to top
View user's profile Send private message
luizgap
n00b
n00b


Joined: 18 Aug 2005
Posts: 12

PostPosted: Wed Aug 31, 2005 2:17 pm    Post subject: Reply with quote

Ok, i am going to explain, i hope :-)

If i configure the user to have a schell /bin/false, will he be able to use sftp? Or does he need a /bin/sh, /bin/bash, whatever?

thanks again!!
Back to top
View user's profile Send private message
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 502
Location: New York, U.S.

PostPosted: Wed Aug 31, 2005 2:53 pm    Post subject: Reply with quote

luizgap wrote:
Ok, i am going to explain, i hope :-)

If i configure the user to have a schell /bin/false, will he be able to use sftp? Or does he need a /bin/sh, /bin/bash, whatever?

thanks again!!


They will need a shell.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum