LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,361

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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
 
1 members found this post helpful.
Old 02-11-2009, 08:06 PM   #3
aussie_penguin
LQ Newbie
 
Registered: Feb 2009
Distribution: Fedora & OpenSolaris 8
Posts: 9

Rep: Reputation: 1
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.
 
1 members found this post helpful.
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:03 AM.

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
Open Source Consulting | Domain Registration