Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux Networking

Linux Networking This forum is for Linux Networking Only. Routing, servers, etc.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-21-2008, 05:08 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 384
Tor is on a distinguished road
Default Scp? Sftp?

When you are SSH'd into a machine can't you transfer a file using SCP or SFTP? I've wondered how this is done for a long time but I never looked it up.
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 06-21-2008, 10:02 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 533
Jordan is on a distinguished road
Default

sftp is secure FTP and requires its own client but it does run over SSH. try "sftp" in your console.

The SCP command can be executed while you are in a shell or from your command line to transfer a file to another SSH server. Here is the command:

Code:
$ scp examplefile yourusername@yourserver:/path/
Reply With Quote
  #3 (permalink)  
Old 06-22-2008, 07:24 PM
Member
 
Join Date: Jun 2008
Posts: 54
LissaValerian is on a distinguished road
Default

man scp

;-)

from remote to local:

scp user@host:/path/to/file .

from local to remote:

scp filename user@host:/filepath/
Reply With Quote
  #4 (permalink)  
Old 06-23-2008, 02:55 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 384
Tor is on a distinguished road
Default

That is true, I should of used "man" to start with. I always forget about it, lol. Thanks though!
Reply With Quote
  #5 (permalink)  
Old 06-23-2008, 03:58 PM
Member
 
Join Date: Jun 2008
Posts: 54
LissaValerian is on a distinguished road
Default

Sorry, I was kinda messing with you a bit. Everyone forgets man for some reason.

"man" is your friend. :-)

lol. I use man a LOT. Mainly because I don't remember syntax very well at all.

~Lissa Valerian
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 06-23-2008, 04:31 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 384
Tor is on a distinguished road
Default

I'm not sure why I always forget about it..
Reply With Quote
  #7 (permalink)  
Old 09-24-2008, 01:01 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 384
Tor is on a distinguished road
Default

Why is sftp more secure? Aren't they about the same (both using Secure Shell technology)?
Reply With Quote
Reply

Tags
sftp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
Pingbacks are On
Refbacks are On



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


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.