melbahja / goph

🤘 The native golang ssh client to execute your commands over ssh connection. 🚀🚀

Home Page:http://git.io/bfpiw

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login with password

LfJohnVo opened this issue · comments

How i can login with password in goph.NewConn? :)

`auth := goph.Password("Password")

client, err := goph.NewConn(&goph.Config{
	User:     "root",
	Addr:     "127.0.0.1",
	Auth:     auth,
	Port:     65002,
	Callback: ssh.InsecureIgnoreHostKey(),
})`