- 博客(2)
- 收藏
- 关注
转载 Golang--实现ssh&scp
package main import ( "fmt" "github.com/pkg/sftp" "golang.org/x/crypto/ssh" "io" "log" "os" "time" ) type Cli struct { user string pwd string addr string client *ssh.Client } func NewCli(user,pwd, addr string) Cli { return Cli{ user: us..
2022-05-05 19:46:04
1047
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人