Created
September 2, 2017 18:56
-
-
Save GwynethLlewelyn/e297fe5ef93281fa0cf1fbae9317e970 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is using sshsrv: | |
$ ./sshsrv -v -l git git.gwynethllewelyn.net | |
Found 1 SRV record(s) for _ssh._tcp.git.gwynethllewelyn.net. | |
Record 0: 1 1 22 autonomy.gwynethllewelyn.net. | |
Target for git.gwynethllewelyn.net is autonomy.gwynethllewelyn.net:22 | |
command: /usr/bin/ssh -p 22 -v -l git autonomy.gwynethllewelyn.net | |
Connecting to autonomy.gwynethllewelyn.net:22 | |
OpenSSH_7.4p1, LibreSSL 2.5.0 | |
debug1: Reading configuration data /Users/gwyneth/.ssh/config | |
debug1: Reading configuration data /etc/ssh/ssh_config | |
debug1: Connecting to autonomy.gwynethllewelyn.net [176.31.245.207] port 22. | |
debug1: Connection established. | |
debug1: identity file /Users/gwyneth/.ssh/id_rsa type 1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_rsa-cert type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_dsa type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_dsa-cert type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_ecdsa type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_ecdsa-cert type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_ed25519 type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_ed25519-cert type -1 | |
debug1: Enabling compatibility mode for protocol 2.0 | |
debug1: Local version string SSH-2.0-OpenSSH_7.4 | |
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.2 | |
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.2 pat OpenSSH* compat 0x04000000 | |
debug1: Authenticating to autonomy.gwynethllewelyn.net:22 as ' git' | |
debug1: SSH2_MSG_KEXINIT sent | |
debug1: SSH2_MSG_KEXINIT received | |
debug1: kex: algorithm: diffie-hellman-group-exchange-sha256 | |
debug1: kex: host key algorithm: ecdsa-sha2-nistp256 | |
debug1: kex: server->client cipher: aes128-ctr MAC: [email protected] compression: none | |
debug1: kex: client->server cipher: aes128-ctr MAC: [email protected] compression: none | |
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<3072<8192) sent | |
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP | |
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent | |
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY | |
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:P4LkYTIpTwBk/uIuJET2ihRNo9XoRkiTXZPvTbx2EYI | |
debug1: Host 'autonomy.gwynethllewelyn.net' is known and matches the ECDSA host key. | |
debug1: Found key in /Users/gwyneth/.ssh/known_hosts:103 | |
debug1: rekey after 4294967296 blocks | |
debug1: SSH2_MSG_NEWKEYS sent | |
debug1: expecting SSH2_MSG_NEWKEYS | |
debug1: SSH2_MSG_NEWKEYS received | |
debug1: rekey after 4294967296 blocks | |
debug1: SSH2_MSG_EXT_INFO received | |
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512> | |
debug1: SSH2_MSG_SERVICE_ACCEPT received | |
debug1: Authentications that can continue: publickey | |
debug1: Next authentication method: publickey | |
debug1: Offering RSA public key: /Users/gwyneth/.ssh/id_rsa | |
debug1: Authentications that can continue: publickey | |
debug1: Trying private key: /Users/gwyneth/.ssh/id_dsa | |
debug1: Trying private key: /Users/gwyneth/.ssh/id_ecdsa | |
debug1: Trying private key: /Users/gwyneth/.ssh/id_ed25519 | |
debug1: No more authentication methods to try. | |
Permission denied (publickey). | |
But running the command directly: | |
$ /usr/bin/ssh -p 22 -v -l git autonomy.gwynethllewelyn.net | |
OpenSSH_7.4p1, LibreSSL 2.5.0 | |
debug1: Reading configuration data /Users/gwyneth/.ssh/config | |
debug1: Reading configuration data /etc/ssh/ssh_config | |
debug1: Connecting to autonomy.gwynethllewelyn.net [176.31.245.207] port 22. | |
debug1: Connection established. | |
debug1: identity file /Users/gwyneth/.ssh/id_rsa type 1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_rsa-cert type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_dsa type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_dsa-cert type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_ecdsa type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_ecdsa-cert type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_ed25519 type -1 | |
debug1: key_load_public: No such file or directory | |
debug1: identity file /Users/gwyneth/.ssh/id_ed25519-cert type -1 | |
debug1: Enabling compatibility mode for protocol 2.0 | |
debug1: Local version string SSH-2.0-OpenSSH_7.4 | |
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.2 | |
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.2 pat OpenSSH* compat 0x04000000 | |
debug1: Authenticating to autonomy.gwynethllewelyn.net:22 as 'git' | |
debug1: SSH2_MSG_KEXINIT sent | |
debug1: SSH2_MSG_KEXINIT received | |
debug1: kex: algorithm: diffie-hellman-group-exchange-sha256 | |
debug1: kex: host key algorithm: ecdsa-sha2-nistp256 | |
debug1: kex: server->client cipher: aes128-ctr MAC: [email protected] compression: none | |
debug1: kex: client->server cipher: aes128-ctr MAC: [email protected] compression: none | |
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(2048<3072<8192) sent | |
debug1: got SSH2_MSG_KEX_DH_GEX_GROUP | |
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent | |
debug1: got SSH2_MSG_KEX_DH_GEX_REPLY | |
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:P4LkYTIpTwBk/uIuJET2ihRNo9XoRkiTXZPvTbx2EYI | |
debug1: Host 'autonomy.gwynethllewelyn.net' is known and matches the ECDSA host key. | |
debug1: Found key in /Users/gwyneth/.ssh/known_hosts:103 | |
debug1: rekey after 4294967296 blocks | |
debug1: SSH2_MSG_NEWKEYS sent | |
debug1: expecting SSH2_MSG_NEWKEYS | |
debug1: SSH2_MSG_NEWKEYS received | |
debug1: rekey after 4294967296 blocks | |
debug1: SSH2_MSG_EXT_INFO received | |
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512> | |
debug1: SSH2_MSG_SERVICE_ACCEPT received | |
debug1: Authentications that can continue: publickey | |
debug1: Next authentication method: publickey | |
debug1: Offering RSA public key: /Users/gwyneth/.ssh/id_rsa | |
debug1: Server accepts key: pkalg rsa-sha2-512 blen 279 | |
debug1: Authentication succeeded (publickey). | |
Authenticated to autonomy.gwynethllewelyn.net ([176.31.245.207]:22). | |
debug1: channel 0: new [client-session] | |
debug1: Requesting [email protected] | |
debug1: Entering interactive session. | |
debug1: pledge: network | |
debug1: client_input_global_request: rtype [email protected] want_reply 0 | |
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-93-generic x86_64) | |
* Documentation: https://help.ubuntu.com | |
* Management: https://landscape.canonical.com | |
* Support: https://ubuntu.com/advantage | |
Ubuntu 16.04.3 LTS | |
server : 237082 | |
ip : 176.31.245.207 | |
hostname : autonomy.gwynethllewelyn.net | |
System information as of Sat Sep 2 19:55:34 WEST 2017 | |
System load: 0.23 Processes: 244 | |
Usage of /: 28.6% of 1.79TB Users logged in: 1 | |
Memory usage: 59% IP address for eth0: 176.31.245.207 | |
Swap usage: 3% | |
Graph this data and manage this system at: | |
https://landscape.canonical.com/ | |
0 packages can be updated. | |
0 updates are security updates. | |
Last login: Sat Sep 2 19:50:12 2017 from 81.193.29.206 | |
web73@autonomy:~$ | |
(note that of course ssh [email protected] also works) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment