Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-11-2005, 01:03 AM   #1
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
move files within ssh

After I open my shell and run

ssh -l amer <IP Here>

How can I move,cp files from my Box into my ssh account? I am not sure how to do that.
Old 04-11-2005, 01:44 AM   #2
Senior Member
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
To my knowledge, ssh can't do that. The command you want is scp. It is part of the ssh set of applications. Check out the man page for details. It's almost exactly like the normal cp command.
Old 04-11-2005, 01:45 AM   #3
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Check out the manpages for "scp" and/or "sftp".
Old 04-11-2005, 03:01 AM   #4
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Instead of typing "ssh amerIP" type "sftp amerIP" to connect with sftp. Use commands ls and cd normally but with an extra "l" in front of commands meant for the local machine. Then use "get" and "put" for copying files and "quit" to quit.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cannot using FTP move command to move files adrianmak Linux - Networking 4 04-21-2009 12:01 PM
the best way to move files around..... thegreggwong Linux - Software 5 08-28-2004 05:20 PM
I can't move files at desktop. akihandyman Mandriva 2 08-27-2004 07:38 AM
move files to new disk bosewicht Linux - Newbie 1 06-09-2004 12:51 AM
Move certain files into different directories facets Programming 6 05-28-2004 01:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration