Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

ysicing/ssh

Repository files navigation

[Deprecated] 请使用 ergo ops exec

go mod ssh

go get -u github.com/ysicing/ssh

Usage

s := ssh.SSH{
	User:     user,
	Password: pass,
	PkFile:   pkfile,
	}
s.Run(ip, xcmd)

MacOS

brew install ysssh