package
0.0.0-20201105063637-5613f3b8169f
Repository: https://github.com/appscode/go.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
RunSSHCommand returns the stdout, stderr, and exit code from running cmd on host as specific user, along with any SSH-level error.
No description provided by the author
No description provided by the author
No description provided by the author
Internal implementation of runSSHCommand, for testing.
Source: https://github.com/flynn/flynn/blob/master/pkg/sshkeygen/sshkeygen.go This generates a single RSA 2048-bit SSH keyAWS Key pair: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#verify-key-pair-fingerprints https://forums.aws.amazon.com/thread.jspa?messageID=386670&tstart=0
From PUB key: ssh-keygen -f ~/.ssh/id_rsa.pub -e -m PKCS8 | openssl pkey -pubin -outform DER | openssl md5 -c From PRIV key: openssl rsa -in ~/.ssh/id_rsa -pubout -outform DER | openssl md5 -c
.
No description provided by the author
No description provided by the author
UploadFile returns the stdout, stderr, and exit code from creating a destination file on host as specific user, along with any SSH-level error.
# Constants
No description provided by the author