Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ssh -v myhostname
- OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
- debug1: Reading configuration data /home/aaronfranke/.ssh/config
- debug1: /home/aaronfranke/.ssh/config line 1: Applying options for myhostname
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 19: Applying options for *
- debug1: Connecting to ssh.myhostname.com [23.202.231.169] port 22.
- debug1: Connection established.
- debug1: identity file /home/aaronfranke/.ssh/id_rsa type 0
- debug1: key_load_public: No such file or directory
- debug1: identity file /home/aaronfranke/.ssh/id_rsa-cert type -1
- debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
- debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
- debug1: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 pat OpenSSH* compat 0x04000000
- debug1: Authenticating to ssh.myhostname.com:22 as 'myhostname'
- debug1: SSH2_MSG_KEXINIT sent
- debug1: SSH2_MSG_KEXINIT received
- debug1: kex: algorithm: curve25519-sha256
- debug1: kex: host key algorithm: ecdsa-sha2-nistp256
- debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
- debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
- debug1: Server host key: ecdsa-sha2-nistp256 SHA256:HnzBy7BAfkMCT4uIcdLrpoWiOrnhHhN8k7XMbbB2Epk
- The authenticity of host 'ssh.myhostname.com (23.202.231.169)' can't be established.
- ECDSA key fingerprint is SHA256:HnzBy7BAfkMCT4uIcdLrpoWiOrnhHhN8k7XMbbB2Epk.
- Are you sure you want to continue connecting (yes/no)? yes
- Warning: Permanently added 'ssh.myhostname.com,23.202.231.169' (ECDSA) to the list of known hosts.
- 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_EXT_INFO received
- debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521>
- debug1: SSH2_MSG_SERVICE_ACCEPT received
- debug1: Authentications that can continue: publickey
- debug1: Next authentication method: publickey
- debug1: Offering public key: RSA SHA256:6IXRCYKKRdkw+pV4Qzmn7i8nGYT05gC7yvtwsDBQbxM /home/aaronfranke/.ssh/id_rsa
- debug1: Authentications that can continue: publickey
- debug1: No more authentication methods to try.
- myhostname@ssh.myhostname.com: Permission denied (publickey).
- $ ssh -v myhostname
- OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
- debug1: Reading configuration data /home/aaronfranke/.ssh/config
- debug1: /home/aaronfranke/.ssh/config line 1: Applying options for myhostname
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 19: Applying options for *
- debug1: Connecting to ssh.myhostname.com [23.217.138.110] port 22.
- debug1: Connection established.
- debug1: identity file /home/aaronfranke/.ssh/id_rsa type 0
- debug1: key_load_public: No such file or directory
- debug1: identity file /home/aaronfranke/.ssh/id_rsa-cert type -1
- debug1: Local version string SSH-2.0-OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
- debug1: Remote protocol version 2.0, remote software version OpenSSH_7.6p1 Ubuntu-4ubuntu0.3
- debug1: match: OpenSSH_7.6p1 Ubuntu-4ubuntu0.3 pat OpenSSH* compat 0x04000000
- debug1: Authenticating to ssh.myhostname.com:22 as 'myhostname'
- debug1: SSH2_MSG_KEXINIT sent
- debug1: SSH2_MSG_KEXINIT received
- debug1: kex: algorithm: curve25519-sha256
- debug1: kex: host key algorithm: ecdsa-sha2-nistp256
- debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
- debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
- debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
- debug1: Server host key: ecdsa-sha2-nistp256 SHA256:6MJJtqKhTdHXF2yzH/0UqGN2o4RZ2PDEp2ttdA/IJR8
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- The ECDSA host key for ssh.myhostname.com has changed,
- and the key for the corresponding IP address 23.217.138.110
- is unknown. This could either mean that
- DNS SPOOFING is happening or the IP address for the host
- and its host key have changed at the same time.
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
- Someone could be eavesdropping on you right now (man-in-the-middle attack)!
- It is also possible that a host key has just been changed.
- The fingerprint for the ECDSA key sent by the remote host is
- SHA256:6MJJtqKhTdHXF2yzH/0UqGN2o4RZ2PDEp2ttdA/IJR8.
- Please contact your system administrator.
- Add correct host key in /home/aaronfranke/.ssh/known_hosts to get rid of this message.
- Offending ECDSA key in /home/aaronfranke/.ssh/known_hosts:1
- remove with:
- ssh-keygen -f "/home/aaronfranke/.ssh/known_hosts" -R "ssh.myhostname.com"
- ECDSA host key for ssh.myhostname.com has changed and you have requested strict checking.
- Host key verification failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement