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

Latest commit

 

History

History
24 lines (18 loc) · 244 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 244 Bytes

[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