[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SSH Key Refused
From: |
xf10036 |
Subject: |
Re: SSH Key Refused |
Date: |
11 Feb 2006 14:43:29 -0800 |
User-agent: |
G2/0.2 |
>My public key was appended to my authorized_keys file so it should be able to
authenticate without a password.<
You have to becareful not to corrupt the public key. The best bet is
to ftp the public key file to the server then $ cat publickeyfile >>
authorized_keys
Rod Macpherson wrote:
> Eclipse SSH integration wizard is magical. You provide the host name
> and login information. The wizard uses a password-based login to
> transfer your public key to your home directory (including creating
> the .ssh folder) as the authorized_keys file. Then your CVS interface
> from Eclipse just works.
>
> Unfortunately I get a "Key Refused" error when trying to use command
> line CVS with the putty SSH implementation. I registered my private
> key (generated with puttygen) with pageant, then try to connect with
> plink. In verbose mode this is what I get. Note that after "Key
> Refused" my password is manually typed in and accepted. That is why
> CVS fails because it cannot handle the password request. My public key
> was appended to my authorized_keys file so it should be able to
> authenticate without a password. Pageant caches access to my private
> key so the authentication should work with no passwords.
>
> Server version: SSH-2.0-OpenSSH_3.8.1p1
> We claim version: SSH-2.0-PuTTY_Release_0.58
> Using SSH protocol version 2
> Doing Diffie-Hellman group exchange
> Doing Diffie-Hellman key exchange
> Host key fingerprint is:
> ssh-rsa 1024 02:68:b2:fe:d8:d3:0f:55:7c:46:64:43:a2:ec:5a:b
> Initialised AES-256 client->server encryption
> Initialised HMAC-SHA1 client->server MAC algorithm
> Initialised AES-256 server->client encryption
> Initialised HMAC-SHA1 server->client MAC algorithm
> Using username "xagent".
> Reading private key file "C:\putty\.ssh\xagent.ppk"
> Pageant is running. Requesting keys.
> Pageant has 1 SSH-2 keys
> Trying Pageant key #0
> This key matches configured key file
> Key refused
> address@hidden's password:
> Sent password
> Access granted
> Opened channel for session
> Allocated pty (ospeed 38400bps, ispeed 38400bps)
> Started a shell/command
> Last login: Thu Feb 2 13:30:23 2006 from ec29d2d7ecfe48b
> Welcome to Darwin!
>
> Side note: the key Eclipse put in authorized_keys is a binary blob
> rather than the text based key generated by puttygen. Not sure what
> the deal is there. I am generating SSH2 DSA keys.
- SSH Key Refused, Rod Macpherson, 2006/02/02
- Re: SSH Key Refused,
xf10036 <=