Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Security
Reload this Page chroot openssh
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Security Discussion about keeping your machines secure, and the crackers out.

Reply
 
Thread Tools Display Modes
Old 08-16-2003   #11 (permalink)
Just Joined!
 
Join Date: Jul 2003
Posts: 12
10x :)
i would like to hear from you :)
because everywhere i ask this question people say :"try this,and this ..."
and when DO try it and it does not work ....... "i don't know" is the answer :)
the reason i want to do this is mostly to chroot sftp .... ( there is info on that too, it sucks :)

so , please , tell me what happened :)

i heard about chrooting proftp , but also read somewhere that ftp is not so secure .... so tell me your ideas on this :
chrooted proftp vs. chrooted sftp
:)
patetobg is offline   Reply With Quote
Old 08-16-2003   #12 (permalink)
Linux Guru
 
Join Date: Apr 2003
Location: London, UK
Posts: 3,284
Normal FTP is in clear text (not encrypted), so anyone with a packet sniffer on the network between the server and client could potentially see any password's and files transmitted.

Sftp (Secure file transfer protocol) is encrypted.

With both Sftp and Proftpd you still need to keep the daemons (sshd and proftpd respectivly) upto date.

The other big difference being that SFTP transfer's via port 22, whereas proftpd is standard ftp, hence port's 21(command) and 20(data) will be used.

Last but not least, normal FTP is accessable to most people (most people, even windows users) have some sort of FTP client on their machines, whereas SFTP require's a different FTP client, one capable of handling the encrypted session. These are available for download, but you need to look at the skill's of the people who you intend to use this server.

Jason
jasonlambert is offline   Reply With Quote
Old 08-17-2003   #13 (permalink)
Just Joined!
 
Join Date: Jul 2003
Posts: 12
so sftp is better ?
(one port , less firewall rules ?)
chrooted sftp - much better?
if yes , how do i do that?
i tried chrooting ssh and sftp but it's not working...
so i'll wait to see if sarumont will do it ...... just hope he will :)
patetobg is offline   Reply With Quote
Old 08-17-2003   #14 (permalink)
Content Team Leader
 
sarumont's Avatar
 
Join Date: Apr 2003
Location: /dev/urandom
Posts: 3,662
Well, sftp runs from the same daemon as ssh, so once ssh is running chrooted, then sftp will run the same way. As far as sftping from windows, all you have to do is download PSFTP. This page also has a windows ssh client (PuTTY).

And I'll let you know when I get a chance (sometime this week) to attempt to setup chrooted ftp.
sarumont is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 01:02 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0