var SSHKey1 = "" /* 229 byte string literal not displayed */
SSHKey1 generated with `ssh-keygen -b 256 -C test-only -t ecdsa -f test-key`
var SSHKey2 = "" /* 401 byte string literal not displayed */
SSHKey2 generated with `ssh-keygen -b 256 -C test-only -t ed25519 -f test-key`
var SSHPub1 = "" /* 172 byte string literal not displayed */
var SSHPub2 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA2TeJHVWtOwR8jJANeStlqO04jCYoF3P6EA33RVd3E5 test-only"
CreateSSHServer launches an SSH server that will use the described private key to allow SSH connections. Note that it explicitly doesn't actually support any Auth mechanisms, so nobody can complete connections, but it will do Key exchange to set up the encrypted conversation. We return the address where the SSH service is listening, and a channel callers must close when they want the service to stop.
CreateTCPServer launches a TCP server that just Accepts connections and triggers the callback function. The callback assumes responsibility for closing the connection. We return the address+port of the TCP server, and a channel that can be closed when you want the TCP server to stop.