Linked Questions

6
votes
4answers
14k views

How to copy files from one machine to another using ssh [duplicate]

I'm using Linux (centos) machine, I already connected to the other system using ssh. Now my question is how can I copy files from one system to another system? Suppose, in my environment, I have two ...
5
votes
0answers
204 views

Copy file over existing SSH session? [duplicate]

Possible Duplicate: SSH easily copy file to local system Let's give the following example: I've connected to ssh user@myserver.com. I need to copy a local file over to the remote ...
0
votes
1answer
101 views

scp to Local Machine After SSHing [duplicate]

From my local machine I can copy files from a remote machine scp remote:/some/file/path ~ But what if I'm already SSHed into the remote machine? Can I do something like this ssh remote cd ...
2
votes
1answer
113 views

Download a file from a remote machine while SSH'd into it? [duplicate]

It often happens that I'm SSH'd into another machine and I'd like to download a file onto my local machine without having to open a new terminal and scp. For example, something like this: local $ ssh ...
1
vote
1answer
71 views

Is it possible to download to files while in a SSH interactive? [duplicate]

Here I am, poking around a remote server via SSH, and I want to find out about/read/edit/whatever a file. I don't like vi or other CMI stuff, I want to read it locally. Is there any way I can ...
3
votes
1answer
67 views

Transfer files client-server inside a SSH session [duplicate]

Is it possible to transfer files (client-server) from inside a ssh session?. I know how to transfer files using SCP, This question is about transference from inside a ssh session. For example I ...
0
votes
0answers
60 views

Is it possible to download a file locally when I've already ssh'ed into a remote computer? [duplicate]

Possible Duplicate: SSH easily copy file to local system Most of the remote download commands seem to involve commands like scp, which are usually used without ssh'ing first (if I recall ...
9
votes
3answers
3k views

How to execute a remote command on a local file?

Is it possible to do this: ssh user@socket command /path/to/file/on/local/machine That is to say, I want to execute a remote command using a local file in one step, without first using scp to copy ...
3
votes
2answers
1k views

Copy files from remote server to local, ignoring existing files (rsync not available)

I would like to copy a directory of files from a remote server. As it is a large number of files, the option of ignoring existing files on the destination server is desirable. Unfortunately, rsync is ...
2
votes
2answers
599 views

Upload file over ssh and execute command on the remote machine

I am trying to find the simplest way to upload a file using ssh and after that run a command on the remote machine within the same ssh session for some post-processing, so that I don't need to login ...
1
vote
2answers
473 views

PHP exec expect script with SCP then SSH

I have a PHP page which runs the following expect script to upload a file to another server on my network: #!/usr/bin/expect -f set password [lindex $argv 0] spawn /usr/bin/scp /home/Dave/bin/test ...

15 30 50 per page