Yup, code is broken. This is what I get —
go run test.go 'date' host1 host2
# command-line-arguments
./test.go:29: cannot assign *ssh.Signature to sig (type []byte) in multiple assignment
./test.go:45: undefined: ssh.ClientAuth
./test.go:56: undefined: ssh.ClientAuthKeyring
./test.go:79: undefined: ssh.ClientAuth
My go version is 1.4rc2
Log In
or
Sign in with Github
Sign in with Twitter
or
Sign in with Github
Sign in with Twitter
Sign Up
or
Sign in with Github
Sign in with Twitter
Reset Password
Enter the email address associated with your account, and we'll email you a link to reset your password.
go run test.go 'date' host1 host2
# command-line-arguments
./test.go:29: cannot assign *ssh.Signature to sig (type []byte) in multiple assignment
./test.go:45: undefined: ssh.ClientAuth
./test.go:56: undefined: ssh.ClientAuthKeyring
./test.go:79: undefined: ssh.ClientAuth
My go version is 1.4rc2