snipt

Ctrl+h for KB shortcuts

Bash

SCP (secure copy) file from local machine to remote server over SSH

scp /local-file/folder/name.zip [email protected]:path-to-post-too/subfolder/
https://snipt.net/embed/caf9a9fd1a7a1e3fa7ff1616bd01af69/
/raw/caf9a9fd1a7a1e3fa7ff1616bd01af69/
caf9a9fd1a7a1e3fa7ff1616bd01af69
bash
Bash
1
2019-07-13T13:46:04
True
False
False
/api/public/snipt/42328/
scp-secure-copy-file-from-local-machine-to-remote-server-over-ssh
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>scp /local-file/folder/name.zip [email protected]:path-to-post-too/subfolder/ </span></pre></div> </td></tr></table>
bash, scp, ssh