Could NOT authenticate DNS lookup. Remote ssh host name/address: ****:22 ssh-ecdsa key fingerprint of remote ssh host (MD5): e2:c6:24:fe:fd:71:45:18:28:54:d1:36:a5:28:22:91 Server fingerprint unknown. Store and continue? (Yes/No): yes Authentication types supported by server: - Public Key Trying authentication type Public Key Passphrase: (here I hit ENTER because the key has no passphrase) ssh authentication failed: Access denied. Authentication that can continue: publickey SSH Login failed. Mosh has exited. Press "x" to close the window.
Mar 28 02:57:31 ip-**** sshd[3183]: Connection closed by 73.**** port 46488 [preauth]
ssh-keygen -p -f ~/.ssh/thekey -m PEM