borud / viassh

Dialer that makes use of SSH tunnels and SSH-agent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

viassh

viassh is a simple demo library for creating remote dialer using a chain of one or more SSH servers. Authentication is done via the ssh-agent.

Example usage

import "github.com/borud/viassh"

// ...

dialer, err := viassh.Create(viassh.Config{
    Hosts:  []string{"user@example.com:22", "user@foo.com:22"},
})

// ...

conn, err := dialer.Dial("tcp","amazon.com:443")

See also the examples directory.

About

Dialer that makes use of SSH tunnels and SSH-agent

License:Apache License 2.0


Languages

Language:Go 100.0%