/ssh-over-websocket

ssh-over-websocket includes a server(websocket server) and a client like ssh.

Primary LanguageGoApache License 2.0Apache-2.0

sshproxy

sshproxy is an http server which proxies interactions to an ssh session.

Install

$ go get github.com/zhouhaibing089/sshproxy/cmd/sshproxy
$ go get github.com/zhouhaibing089/sshproxy/cmd/kubectl-ssh

Usage

The sshproxy accepts two kinds of ssh authentication:

$ sshproxy --user=<ssh user> \
    --key=<ssh key> \
    --bind-address=127.0.0.1 \
    --port=8443 \
    --tls-cert-file=<tls certificate> \
    --tls-private-key-file=<tls private key file>