LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2011, 10:08 PM   #1
cvccfranklin
LQ Newbie
 
Registered: Jan 2011
Posts: 1

Rep: Reputation: 0
Homework assistance


What are the advantages of sftp over ftp?
 
Old 02-07-2011, 10:20 PM   #2
binary_pearl
Member
 
Registered: Jul 2007
Location: Chicago Illinois
Distribution: SLES 10 SP2/SP3, SLES 11 SP1, OpenSUSE, Sabayon, Gentoo, Fedora 14, RHEL 3/4/5/6
Posts: 98
Blog Entries: 3

Rep: Reputation: 23
Here is a story between the difference between ssh and telnet. The same lesson learned can be applied to sftp vs ftp.

My room-mate at the time asked me what the difference was between ssh and telnet.

So I set up a telnet server on computer. I then created an account for him. I logged him in to my compuer on his computer and said "change your password, just don't let me see it". He changed his password.

I then told him to log into my server using telnet. But first I started wireshark on my computer, so I could capture packets coming into my server.

1 minute later I walked into his room with a post-it-note and said "here is the password that you miss-typed the first time that you tried to log in, and here is your correct password that you typed in the second time.

I then told him to log in using ssh. I showed him the output from the packets I captured. The password was encrypted with ssh and I could not determine his password.

--Shaun

Last edited by binary_pearl; 02-07-2011 at 10:34 PM. Reason: Had the order of the story a bit wrong. I said I started wireshark too soon. An asute observer would have noticed the flaw.
 
1 members found this post helpful.
Old 02-07-2011, 10:40 PM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 874

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by binary_pearl View Post
Here is a story between the difference between ssh and telnet. The same lesson learned can be applied to sftp vs ftp.

My room-mate at the time asked me what the difference was between ssh and telnet.

So I set up a telnet server on computer. I then created an account for him. I logged him in to my compuer on his computer and said "change your password, just don't let me see it". He changed his password.

I then told him to log into my server using telnet. But first I started wireshark on my computer, so I could capture packets coming into my server.

1 minute later I walked into his room with a post-it-note and said "here is the password that you miss-typed the first time that you tried to log in, and here is your correct password that you typed in the second time.

I then told him to log in using ssh. I showed him the output from the packets I captured. The password was encrypted with ssh and I could not determine his password.

--Shaun
Very nicely said.

sftp vs ftp is one is encrypted and 1 is not
 
Old 02-08-2011, 07:55 AM   #4
geovg
Member
 
Registered: Mar 2010
Posts: 40

Rep: Reputation: 1
Quote:
Originally Posted by binary_pearl View Post
Here is a story between the difference between ssh and telnet. The same lesson learned can be applied to sftp vs ftp.

My room-mate at the time asked me what the difference was between ssh and telnet.

So I set up a telnet server on computer. I then created an account for him. I logged him in to my compuer on his computer and said "change your password, just don't let me see it". He changed his password.

I then told him to log into my server using telnet. But first I started wireshark on my computer, so I could capture packets coming into my server.

1 minute later I walked into his room with a post-it-note and said "here is the password that you miss-typed the first time that you tried to log in, and here is your correct password that you typed in the second time.

I then told him to log in using ssh. I showed him the output from the packets I captured. The password was encrypted with ssh and I could not determine his password.

--Shaun
well said....
 
Old 02-08-2011, 01:17 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
The clue is in the name sftp. Also man ftp and man sftp will give a short paragraph on what each is and does and you can cull the info from there.

Last edited by XavierP; 02-08-2011 at 01:18 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off




All times are GMT -5. The time now is 02:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration