LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2011, 01:53 AM   #1
snjksh
Member
 
Registered: Jan 2008
Location: Pune, India
Distribution: RHEL
Posts: 34

Rep: Reputation: 0
Working of scp


Hello,

Suppose we are copying a file over scp with 2 machines. How they transfer. How the bits or bytes are getting copyied?
 
Old 11-18-2011, 02:05 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Huh?

SCP uses the SSH protocol to transfer data, SSH encrypts the connection, SCP uses the same method of connection, but transfers data across it, rather than a shell.. The same applies to SSHFS.

I am not sure exactly what you want to know...
 
Old 11-18-2011, 02:15 AM   #3
AlexeyS
LQ Newbie
 
Registered: Nov 2011
Posts: 4

Rep: Reputation: Disabled
If you need the base info about scp:

Quote:
The SCP protocol is a network protocol, based on the BSD RCP protocol, which supports file transfers between hosts on a network. SCP uses Secure Shell (SSH) for data transfer and utilizes the same mechanisms for authentication, thereby ensuring the authenticity and confidentiality of the data in transit. A client can send (upload) files to a server, optionally including their basic attributes (permissions, timestamps). Clients can also request files or directories from a server (download). SCP runs over TCP port 22 by default. Like RCP, there is no RFC that defines the specifics of the protocol.
[edit]
If that info is not enough please specify your question
 
Old 11-18-2011, 02:49 AM   #4
vantagesupport
LQ Newbie
 
Registered: Nov 2011
Distribution: RHEL,CENTOS,UBUNTU
Posts: 6

Rep: Reputation: Disabled
Please refer the link to know the basic details of SCP
http://www.lynuxstuff.com/2011/06/scp-secure-copy/
 
Old 07-27-2013, 10:39 AM   #5
snjksh
Member
 
Registered: Jan 2008
Location: Pune, India
Distribution: RHEL
Posts: 34

Original Poster
Rep: Reputation: 0
Thanks buddy.
 
  


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
[SOLVED] ssh scp key not working to ssh/scp without password anon091 Linux - Newbie 9 08-22-2011 04:28 PM
SCP not working kais1 Linux - Newbie 4 07-05-2011 05:34 PM
cron and scp not working very well rodrigobela Linux - General 2 09-16-2008 03:50 PM
scp not working lord-fu Fedora 2 08-01-2007 08:27 AM
scp not working nauliv Linux - Software 3 06-30-2003 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:06 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
Open Source Consulting | Domain Registration