Difference between revisions of "Linux"

Jump to navigation Jump to search
2 bytes added ,  21:14, 14 June 2012
m
→‎SCP: Another formatting fix
m (→‎SCP: Another formatting fix)
Line 82: Line 82:
== SCP ==
== SCP ==
In order to be able to copy files from one machine to the other...
In order to be able to copy files from one machine to the other...
<code> scp user@server:/remote/server/path/file /local/server/path/ </code>
* <code> scp user@server:/remote/server/path/file /local/server/path/ </code>


In order to be able to copy files within a script (and not get prompted for a user password, the public key of the machine running the script needs to be authorised on the remote server.
In order to be able to copy files within a script (and not get prompted for a user password, the public key of the machine running the script needs to be authorised on the remote server.

Navigation menu