Permission denied when I try to ssh into server

خرید بک لینک

I'm having an issue when I try to ssh into my server with a private rsa key. I'm getting a permission denied error followed by a "Too many authentication failures for [user]".

Note: The rsa key id_linux has permissions of 600.

Here's the shell output:

    $ ssh -v comics
    OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: Applying options for *
    debug1: Applying options for comics
    debug1: Connecting to [site] [site's IP] port 2222.
    debug1: Connection established.
    debug1: identity file /home/ryan/Desktop/Storage/id_linux type -1
    debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
    debug1: match: OpenSSH_5.3 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
    debug1: SSH2_MSG_KEXINIT sent
    debug1: SSH2_MSG_KEXINIT received
    debug1: kex: server->client 3des-cbc hmac-md5 none
    debug1: kex: client->server 3des-cbc hmac-md5 none
    debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<2048<8192) sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Host '[site]:2222' is known and matches the RSA host key.
    debug1: Found key in /home/ryan/.ssh/known_hosts:3
    debug1: ssh_rsa_verify: signature correct
    debug1: SSH2_MSG_NEWKEYS sent
    debug1: expecting SSH2_MSG_NEWKEYS
    debug1: SSH2_MSG_NEWKEYS received
    debug1: SSH2_MSG_SERVICE_REQUEST sent
    debug1: SSH2_MSG_SERVICE_ACCEPT received
    debug1: Authentications that can continue: publickey,password,keyboard-interactive
    debug1: Next authentication method: publickey
    debug1: Trying private key: /home/ryan/Desktop/Storage/id_linux
    Enter passphrase for key '/home/ryan/Desktop/Storage/id_linux':
    Enter passphrase for key '/home/ryan/Desktop/Storage/id_linux':
    Enter passphrase for key '/home/ryan/Desktop/Storage/id_linux':
    debug1: Next authentication method: keyboard-interactive
    debug1: Authentications that can continue: publickey,password,keyboard-interactive
    debug1: Next authentication method: password
    [user]@[site]'s password:
    debug1: Authentications that can continue: publickey,password,keyboard-interactive
    Permission denied, please try again.
    [user]@[site]'s password:
    Received disconnect from [site's IP]: 2: Too many authentication failures for [user]

Here's what my ssh_config file looks like.

Host comics
    HostName [site]
    IdentityFile ~/Desktop/Storage/id_linux
    IdentitiesOnly yes
    PubkeyAuthentication yes
    User [user]
    Port 2222

I've tried generating a new key but that didn't work. I still have the same issue.

Thanks for your help!

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 247 تاريخ: چهارشنبه 29 ارديبهشت 1395 ساعت: 5:55

صفحه بندی