Difference between revisions of "SSH"
From Useful Things
(Created page with "== Push a file == <source lang="bash"> ssh ./path/to/source user@host:/path/to/destination </source> == Pull a file == <source lang="bash"> ssh user@host:/path/to/source ./pa...") |
|||
| Line 1: | Line 1: | ||
== Push a file == | == Push a file == | ||
<source lang="bash"> | <source lang="bash"> | ||
| − | + | scp ./path/to/source user@host:/path/to/destination | |
</source> | </source> | ||
== Pull a file == | == Pull a file == | ||
<source lang="bash"> | <source lang="bash"> | ||
| − | + | scp user@host:/path/to/source ./path/to/destination | |
</source> | </source> | ||
Revision as of 11:50, 30 June 2014
Push a file
scp ./path/to/source user@host:/path/to/destinationPull a file
scp user@host:/path/to/source ./path/to/destination