We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe9b5e9 commit 1a4f113Copy full SHA for 1a4f113
example/README.md
@@ -0,0 +1,26 @@
1
+## SCP Example
2
+
3
+### Compile
4
+```
5
+go build
6
7
8
+### Running
9
+`example` will use `scp` to copy a remote file locally. Local files created on the working folder with the remote base name.
10
11
+Usage: host:port username remotepath
12
13
+#### Notes
14
15
+Port must be set!
16
17
+Password will be prompted for.
18
19
20
21
+localhost$ ./example naboo.local:22 root /var/log/lastlog
22
+Password: ********
23
+Opening tcp to naboo.local:22
24
+Establishing ssh session naboo.local:22...
25
+Copied 292584 bytes in 327.874073ms
26
0 commit comments