LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-11-2009, 07:55 PM   #1
Bucky20
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Differences between scp and ftp


What is the differences between scp and ftp?
 
Old 02-11-2009, 08:05 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,289

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
scp: encrypted, including username/passwd; part of ssh suite, uses port 22; can put a file anywhere you have privelege to
ftp: plaintext, inc user/passwd, uses ports 20, 21; usually restricted to an ftp dir on server
 
Old 02-11-2009, 08:06 PM   #3
aussie_penguin
LQ Newbie
 
Registered: Feb 2009
Distribution: Fedora & OpenSolaris 8
Posts: 9

Rep: Reputation: 0
scp is secure copy ftp is file transfer protocol.

both do file transfers but scp is secure & encrypted while ftp is plain text...
(thats the basics. other senior guys in here would be able to elaborate more.)
also SCP uses any port you specify -
while ftp generally uses port 21 and sends the id/password in plain text (open to scanning)

you might want to also look at SFTP that uses port 22.
 
Old 02-12-2009, 06:45 PM   #4
servat78
Member
 
Registered: Jan 2009
Posts: 100

Rep: Reputation: 17
scp is a tool to copy files to/from remote servers using an SSH channel. Unlike ssh access it only runs a single copy command. Just as ssh it has full access to the file system, only limited by the permissions of the login user account.

ftp is also tool deal with files on a remote server, but it's security measures are bit weaker, and it allows only access to the ftp root directory of the login user account.

Debian

Last edited by servat78; 02-19-2009 at 11:22 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow performance with Samba, but not FTP, SCP stealth210 Slackware 19 01-15-2008 03:53 AM
ftp/scp tool and technique ufmale Linux - Software 3 07-25-2007 07:11 AM
why is scp slow and ftp fast on same connection fpiergen Linux - Networking 1 04-11-2007 07:57 PM
Ftp or SCP (ssh key) vladoportos Debian 2 02-20-2006 08:58 AM
Linux/UNIX differences with vi and ftp ascii transfers KenMadsen Linux - Newbie 2 06-20-2005 09:51 AM


All times are GMT -5. The time now is 02:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration