From 4a6d55d3b65e7a4ab94422a07550d5358679f4e5 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sun, 1 Jul 2018 19:27:38 +0200 Subject: Add some goot cheat --- cheat/.cheat/scp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cheat/.cheat/scp (limited to 'cheat/.cheat/scp') 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 -- cgit v1.2.1