Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSshClient ¶
func CreateSshClient(c *sshlib.Connect, host, port, user, pass string, identityFiles []string) (err error)
A modified version of func (*sshlib.Connect) CreateClient. When checking ssh server public key, return error if encounter an dismatch or unknown host, instead of asking user to confirm from tty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.