command
Version:
v0.0.0-...-a7e7586
Opens a new window with list of versions in this module.
Published: Jan 28, 2021
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
SCP Example
Compile
go build
Running
example
will use scp
to copy a remote file locally. Local files created on the working folder with the remote base name.
Usage: host:port username remotepath
Notes
Port must be set!
Password will be prompted for.
localhost$ ./example naboo.local:22 root /var/log/lastlog
Password: ********
Opening tcp to naboo.local:22
Establishing ssh session naboo.local:22...
Copied 292584 bytes in 327.874073ms
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.