Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TuffLuffJimmy

macrumors G3
Original poster
Apr 6, 2007
9,032
160
Portland, OR
I'm pretty new to the terminal, but I know the basic commands of it. I can't figure out how to ssh into my home computer and copy directories from it to the computer I'm ssh'ing from. I know how to move folders on the computer I'm remote accessing to, and my local computer, but I can't figure out how to do it between computers.

I'd rather not install any apps on the computers, such as cyberduck or putty as these machines have pretty specific functions and I don't want to have to deal with any more software than I need to.

Any help is greatly appreciated.
 

theyellowdart

macrumors regular
Jul 29, 2008
102
0
The Mitten State
scp

So for example, scp File.txt username@server:~ will copy the File.txt to usernames home directory on server.

To do a folder you would use the -r tag. So scp -r Directory username@server:~ will copy the directory over.

man scp for more info.
 

TuffLuffJimmy

macrumors G3
Original poster
Apr 6, 2007
9,032
160
Portland, OR
Well, scp isn't really a ssh command. It's a completely different program that uses ssh.

They really are two completely different things.

When I use an app like cyberduck (using ssh) what command is it using to copy/move files? Or do is my understanding of the program a little backward?
 

notjustjay

macrumors 603
Sep 19, 2003
6,056
167
Canada, eh?
I thought CyberDuck was an FTP client.

And, all due respect, programs like FTP, ssh, scp are common (and generic) enough that a simple Google search would probably have answered your question much quicker than waiting for us on the forums... :)
 

TuffLuffJimmy

macrumors G3
Original poster
Apr 6, 2007
9,032
160
Portland, OR
I thought CyberDuck was an FTP client.

And, all due respect, programs like FTP, ssh, scp are common (and generic) enough that a simple Google search would probably have answered your question much quicker than waiting for us on the forums... :)

It can do SSH (a little google search would have revealed that) :rolleyes:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.