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.
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/
man scp
;-)
from remote to local:
scp user@host:/path/to/file .
from local to remote:
scp filename user@host:/filepath/
That is true, I should of used "man" to start with. I always forget about it, lol. Thanks though!
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
I'm not sure why I always forget about it..![]()
Why is sftp more secure? Aren't they about the same (both using Secure Shell technology)?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks