Skip to content

Instantly share code, notes, and snippets.

@nettrom
Last active September 11, 2017 16:45
Show Gist options
  • Save nettrom/b654e80f0432e0ec3f3075e7504e23dd to your computer and use it in GitHub Desktop.
Save nettrom/b654e80f0432e0ec3f3075e7504e23dd to your computer and use it in GitHub Desktop.
WM Cloud SSH configuration
Host *.eqiad.wmflabs
ProxyCommand ssh -a -W %h:%p -v [email protected]
Host *.wmflabs
User nettrom
IdentityFile %d/.ssh/wmcloud
ServerAliveInterval 60
Host * !gerrit.wikimedia.org
Ciphers [email protected],[email protected],[email protected],aes256-ctr,aes192-ctr,aes128-ctr
KexAlgorithms [email protected],diffie-hellman-group-exchange-sha256
ssh -v suggestbot-prod.suggestbot.eqiad.wmflabs
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /Users/morten/.ssh/config
debug1: /Users/morten/.ssh/config line 2: Applying options for *
debug1: /Users/morten/.ssh/config line 3: Deprecated option "useroaming"
debug1: /Users/morten/.ssh/config line 5: Applying options for *.eqiad.wmflabs
debug1: /Users/morten/.ssh/config line 7: Applying options for *.wmflabs
debug1: /Users/morten/.ssh/config line 10: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Executing proxy command: exec ssh -a -W suggestbot-prod.suggestbot.eqiad.wmflabs:22 -v [email protected]
debug1: identity file /Users/morten/.ssh/wmcloud type 1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/morten/.ssh/wmcloud-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4
debug1: permanently_drop_suid: 501
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /Users/morten/.ssh/config
debug1: /Users/morten/.ssh/config line 2: Applying options for *
debug1: /Users/morten/.ssh/config line 3: Deprecated option "useroaming"
debug1: /Users/morten/.ssh/config line 10: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to primary.bastion.wmflabs.org [208.80.155.129] port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /Users/morten/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/morten/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/morten/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/morten/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/morten/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/morten/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/morten/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/morten/.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_6.7p1 Debian-5+deb8u1
debug1: match: OpenSSH_6.7p1 Debian-5+deb8u1 pat OpenSSH* compat 0x04000000
debug1: Authenticating to primary.bastion.wmflabs.org:22 as 'nettrom'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: [email protected]
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none
debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:s+xuLo91PcVIFcFdxPQC7IXgJ2nYxaXcqa7bKE7/ufA
debug1: Host 'primary.bastion.wmflabs.org' is known and matches the ECDSA host key.
debug1: Found key in /Users/morten/.ssh/known_hosts:85
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/morten/.ssh/id_rsa
debug1: Trying private key: /Users/morten/.ssh/id_dsa
debug1: Trying private key: /Users/morten/.ssh/id_ecdsa
debug1: Trying private key: /Users/morten/.ssh/id_ed25519
debug1: No more authentication methods to try.
Permission denied (publickey).
ssh_exchange_identification: Connection closed by remote host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment