PCLOS 2007 & FC9: can't copyy files from FC9 box to home PCLOS 2k7 via ssh
Hello everyone. This is my first post. I am using pclos 2k7 from home. I have files at work on a fc9 box. I am trying to connect to my company's ssh environment from home.
$ ssh name@domain.com <<-- seems to work just fine. From there I have to ssh user@fc9 to get access to my fc9 box at work. I tried to copy files from my box directly to my pclos 2k7 box at home, but it looked like I copied it to the shell environment instead. I used the following command : scp -r user@pcshell:/home/user/folder1 . I guess the 'ssh environment' is a box that allows the tunnel connection for ssh sessions. So anyways, when I do a 'ls', I see that I have copied the 'folder1' in my home directory of the 'ssh environment' box. But I would like this folder and it's contents to be copied to my home pclos box. I tried then using this command: scp -r user@pcshell.domain.com:~/folder1/ redla@192.168.2.104:~/folder1/ It asks for the user's password. I provide it but then it just hangs. I have a DSL connection going into a linksys router providing dhcp leased ip addresses. My pclos is on a laptop with a wireless connection. Any ideas would be appreciated. |
Why not SSH to the machine the files are on, then go backwards to your box
|
Sorry... what do you mean by going backwards?
|
Login to the target box and then scp from there, calling your box at work
me@home> scp me@work:/path/ . |
All times are GMT -5. The time now is 12:05 PM. |