mblanco2000 Posted April 19, 2004 Report 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 Quote Link to comment Share on other sites More sharing options...
mblanco2000 Posted April 19, 2004 Author Report Share Posted April 19, 2004 got the answer no need for any help here. Quote Link to comment Share on other sites More sharing options...
liquidzoo Posted April 19, 2004 Report Share Posted April 19, 2004 Would you be willing to share that answer? I'm sure others could benefit from your knowledge. Quote Link to comment Share on other sites More sharing options...
youngmug Posted April 20, 2004 Report 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.