Documentation ¶
Index ¶
- Constants
- func MarshalED25519PrivateKey(key ed25519.PrivateKey, comment string) []byte
- func New() *cobra.Command
- func NewSFTP() *cobra.Command
- func RunSSHCommand(ctx context.Context, app *api.AppCompact, dialer agent.Dialer, addr string, ...) ([]byte, error)
- func SSHConnect(p *SSHParams, addr string) error
- type SSHParams
- Bugs
Constants ¶
View Source
const DefaultSshUsername = "root"
Variables ¶
This section is empty.
Functions ¶
func MarshalED25519PrivateKey ¶ added in v0.0.359
func MarshalED25519PrivateKey(key ed25519.PrivateKey, comment string) []byte
stolen from `mikesmitty`, thanks, you are a mikesmitty and a scholar
func RunSSHCommand ¶
func SSHConnect ¶
Types ¶
Notes ¶
Bugs ¶
many of these are no longer really params
do better
these return `error` because in theory an error might be bad enough that we want to kill the session, but nothing does that right now.
Click to show internal directories.
Click to hide internal directories.