aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/scp
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-07-01 19:27:38 +0200
committerneodarz <neodarz@neodarz.net>2018-07-01 19:27:38 +0200
commit4a6d55d3b65e7a4ab94422a07550d5358679f4e5 (patch)
treeef4b5147f66ea91d63ddcb0daeba327ac9f83d15 /cheat/.cheat/scp
parent2f6357a59d60fb13e6a81e0be5efd3b3cb2e6e35 (diff)
downloaddotfiles_ascii-4a6d55d3b65e7a4ab94422a07550d5358679f4e5.tar.xz
dotfiles_ascii-4a6d55d3b65e7a4ab94422a07550d5358679f4e5.zip
Add some goot cheat
Diffstat (limited to '')
-rw-r--r--cheat/.cheat/scp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cheat/.cheat/scp b/cheat/.cheat/scp
new file mode 100644
index 0000000..0a632ec
--- /dev/null
+++ b/cheat/.cheat/scp
@@ -0,0 +1,8 @@
+# To copy a file from your local machine to a remote server:
+scp foo.txt user@example.com:remote/dir
+
+# To copy a file from a remote server to your local machine:
+scp user@example.com:remote/dir/foo.txt local/dir
+
+# Option for select port
+-P <port>