[EMAIL PROTECTED] wrote:
> > After generating the keys, I copy them to the remote machine
> > /home/[username]/.ssh/authorized_keys2. One key per line.
> >
>
> Ensure that your authorized_keys2 only contains v2 protocol keys
> (id_rsa.pub or id_dsa.pub) and that the file is 600.
>
> - Ben
Thanks for the quick response Ben. I checked the permissions and they
were indeed wrong. (664). I set them at 600 and took the identity.pub
out of the authorized_keys2 file. Also, I removed the id_rsa.pub so
there would only be one key in the file. On the local machine, i
removed the id_rsa and id_rsa.pub files. This is still my verbose:
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /home/[username]/.ssh/identity type -1
debug1: identity file /home/[username]/.ssh/id_rsa type -1
debug3: No RSA1 key file /home/[username]/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: no key found
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: no key found
debug1: identity file /home/[username]/.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote software version
OpenSSH_2.9p2
debug1: match: OpenSSH_2.9p2 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_2.9p2
And at the bottom:
debug1: authentications that can continue:
publickey,password,keyboard-interactive
debug3: start over, passed a different list
publickey,password,keyboard-interactive
debug3: preferred publickey,password,keyboard-interactive
debug3: authmethod_lookup publickey
debug3: remaining preferred: password,keyboard-interactive
debug3: authmethod_is_enabled publickey
debug1: next auth method to try is publickey
debug1: try privkey: /home/[username]/.ssh/identity
debug3: no such identity: /home/[username]/.ssh/identity
debug1: try privkey: /home/[username]/.ssh/id_rsa
debug3: no such identity: /home/[username]/.ssh/id_rsa
debug1: try pubkey: /home/[username]/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: authentications that can continue:
publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: keyboard-interactive
debug3: authmethod_is_enabled password
debug1: next auth method to try is password
[username]@[host]'s password:
Thanks for your input. Do you, or does anyone else, have any other
options?
Thanks,
DB
--- Begin Message ---
[EMAIL PROTECTED] wrote:
> > After generating the keys, I copy them to the remote machine
> > /home/[username]/.ssh/authorized_keys2. One key per line.
> >
>
> Ensure that your authorized_keys2 only contains v2 protocol keys
> (id_rsa.pub or id_dsa.pub) and that the file is 600.
>
> - Ben
Thanks for the quick response Ben. I checked the permissions and they
were indeed wrong. (664). I set them at 600 and took the identity.pub
out of the authorized_keys2 file. Also, I removed the id_rsa.pub so
there would only be one key in the file. On the local machine, i
removed the id_rsa and id_rsa.pub files. This is still my verbose:
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /home/[username]/.ssh/identity type -1
debug1: identity file /home/[username]/.ssh/id_rsa type -1
debug3: No RSA1 key file /home/[username]/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: no key found
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug3: key_read: no space
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: no key found
debug1: identity file /home/[username]/.ssh/id_dsa type 2
debug1: Remote protocol version 1.99, remote software version
OpenSSH_2.9p2
debug1: match: OpenSSH_2.9p2 pat ^OpenSSH
Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_2.9p2
And at the bottom:
debug1: authentications that can continue:
publickey,password,keyboard-interactive
debug3: start over, passed a different list
publickey,password,keyboard-interactive
debug3: preferred publickey,password,keyboard-interactive
debug3: authmethod_lookup publickey
debug3: remaining preferred: password,keyboard-interactive
debug3: authmethod_is_enabled publickey
debug1: next auth method to try is publickey
debug1: try privkey: /home/[username]/.ssh/identity
debug3: no such identity: /home/[username]/.ssh/identity
debug1: try privkey: /home/[username]/.ssh/id_rsa
debug3: no such identity: /home/[username]/.ssh/id_rsa
debug1: try pubkey: /home/[username]/.ssh/id_dsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: authentications that can continue:
publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: keyboard-interactive
debug3: authmethod_is_enabled password
debug1: next auth method to try is password
[username]@[host]'s password:
Thanks for your input. Do you, or does anyone else, have any other
options?
Thanks,
DB
--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]