package
0.0.13
Repository: https://github.com/blinchik/go-tunnel.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
ExecuteCommands execute a list of shell commands on the client machine.
FirstClient will create SSH client with remote machine.
Forward dial to the target client and start io.copy fron local-remote and remote-local.
GetKnownhostsPrivate will harvest the known hosts from machines that located in private subnets over SSH tunnel.
GetKnownhostsPublic will harvest the known hosts from machines that located in public subnets.
Harvest dial to the target machine and add the key from ssh response to the known hosts.
HostKeyCallback creates a host key callback from the given OpenSSH host key files.
ListenDirect creates SSH tunnel directly to the remote machine.
ListenOverMiddle creates SSH tunnel over middle machine.
LocalListner start listner on the local address and call Forward function.
Recoverer autostart a function after crushing.
SignLocalKey create signatures from private keys under the local path ~/.ssh that verify against a public key.
TargetClient will create SSH client with remote machine through the middle machine.
TransferFiles use SFTP to transfer files into clinet machine.