I accidentally locked myself out of my server. I changed the port, added ssh-keys,
PermitRootLogin is 'no' and if I remember correctly
PasswordAuthentication is also no. Logging in on another server works fine so the problem isn't due to my local ssh-keys.
When logging in via
ssh -vv -p 2345 email@example.com I get the following info back.
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: /etc/ssh_config line 102: Applying options for * debug1: Connecting to 220.127.116.11 [18.104.22.168] port 1234. debug1: Connection established. debug1: identity file /Users/yoeriboven/.ssh/id_rsa type 1 debug1: identity file /Users/yoeriboven/.ssh/id_rsa-cert type -1 debug1: identity file /Users/yoeriboven/.ssh/id_dsa type -1 debug1: identity file /Users/yoeriboven/.ssh/id_dsa-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.2 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3 debug1: match: OpenSSH_5.3 pat OpenSSH_5* debug1: SSH2_MSG_KEXINIT sent Connection closed by 22.214.171.124
I luckily can still login via FTP so I backed up all the files but I only have access to the user's folder.
Any idea how I could login? If not, I'll have to destroy the server and set it up all over.