Skip to content

Instantly share code, notes, and snippets.

View qiukeren's full-sized avatar
💭
回收服务器SSD

仇柯人 qiukeren

💭
回收服务器SSD
View GitHub Profile
@qiukeren
qiukeren / sshd.go
Created December 8, 2016 17:03 — forked from jpillora/sshd.go
Go SSH server complete example - Read more here https://blog.gopheracademy.com/go-and-ssh/
// A small SSH daemon providing bash sessions
//
// Server:
// cd my/new/dir/
// #generate server keypair
// ssh-keygen -t rsa
// go get -v .
// go run sshd.go
//
// Client: