Skip to content

Instantly share code, notes, and snippets.

View hut8's full-sized avatar
👋

Liam hut8

👋
  • Supervillain Software Group
  • Albany, NY, USA
View GitHub Profile
@hut8
hut8 / sshd.go
Last active August 29, 2015 14:20 — forked from nictuku/sshd.go
package main
import (
"fmt"
"io"
"io/ioutil"
"log"
"code.google.com/p/go.crypto/ssh"
"code.google.com/p/go.crypto/ssh/terminal"
@hut8
hut8 / sshd.go
Last active August 29, 2015 14:20 — forked from jpillora/sshd.go
// 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: