Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClient ¶
NewClient connects via ssh to host with the given user and authenticates with the privateKey.
Call client.Connect() to actually get the ssh session
func NewClientWithConnection ¶
NewClientWithConnection connects via ssh to host with the given user and authenticates with the privateKey. a already created net.Conn must be provided. see vpn.Connect howto create such a connection via tailscale VPN
Call client.Connect() to actually get the ssh session
Click to show internal directories.
Click to hide internal directories.