mblanco2000 Posted April 19, 2004 Share Posted April 19, 2004 I am trying to use scp to move a file from a remote linux box to my local linux box. I ssh into the remote box and then issue the followiing command. I have read the man pages but still can not get the command right. Can someone please help. scp -v backup.pst 163.188.18.167:/ & [1] 6493 Executing: program /usr/bin/ssh host 163.188.18.167, user (unspecified), command scp -v -t / OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090703f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: Connecting to 163.188.18.167 [163.188.18.167] port 22. MB Link to comment Share on other sites More sharing options...
mblanco2000 Posted April 19, 2004 Author Share Posted April 19, 2004 got the answer no need for any help here. Link to comment Share on other sites More sharing options...
liquidzoo Posted April 19, 2004 Share Posted April 19, 2004 Would you be willing to share that answer? I'm sure others could benefit from your knowledge. Link to comment Share on other sites More sharing options...
youngmug Posted April 20, 2004 Share Posted April 20, 2004 (edited) The basic scp command is: scp <remote> <local> so to move /usr/local/test.txt from box1 to box2 (while sitting at box2) as user john... scp john@box2:/usr/local/text.txt /usr/local/ Or if you are on box1: scp /usr/local/text.txt john@box2:/usr/local/ Edit: fixed the box names. Edited April 20, 2004 by youngmug Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now