move keyring to its own file, go fmt
remove some code, only use string channels

Added a constructor for sshConnection since it involves 4 make().