package
0.0.0-20231128090813-75eff44395ac
Repository: https://github.com/yusys-cloud/ai-tools.git
Documentation: pkg.go.dev
# Functions
Dial starts a client connection to the given SSH server.
DialWithKey starts a client connection to the given SSH server with key authmethod.
DialWithKeyWithPassphrase same as DialWithKey but with a passphrase to decrypt the private key.
DialWithPasswd starts a client connection to the given SSH server with passwd authmethod.
setup ssh shell session set Session and StdinPipe here, and the Session.Stdout and Session.Sdterr are also set.
handle webSocket connection.
# Structs
A Client implements an SSH client that supports running commands and scripts remotely.
A RemoteScript represents script that can be run remotely.
A RemoteShell represents a login shell on the client.
connect to ssh server using ssh session.
A TerminalConfig represents the configuration for an interactive shell session.