Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServerAddr = "127.0.0.1:2200" // ssh jumper host PrivateKeyPath = "/Users/grt1st/.ssh/gogo" // ssh jumper private key )
Variables ¶
This section is empty.
Functions ¶
func ConnectSSHPassword ¶
func ConnectSSHPassword(c ssh.ConnMetadata, pass []byte) (*ssh.Permissions, error)
ConnectSSHPassword authorization to ssh jumper
func ConnectSSHPublicKey ¶
func ConnectSSHPublicKey(c ssh.ConnMetadata, pubKey ssh.PublicKey) (*ssh.Permissions, error)
ConnectSSHPublicKey authorization to ssh jumper
func GetRemoteSSH ¶
GetRemoteSSH authorization to ssh jumper slave
func InitSSHPublicKey ¶
func InitSSHPublicKey()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.