password less login problem



hi all.

Trying to get a password-less login...

I'm running openssh v4.2 on a gentoo system. The client is a sun box
running SSH-1.99-3.2.3. I had the sun client run ssh-keygen -t rsa
then copy the public key to the gentoo system. Then I converted the
public key to openssh format ssh-keygen -i -f pubkey, and finally
catted to the .ssh/authorized_keys file. I also made sure .ssh and
authorized_keys are not group writable. I manually added ==
username@remotehostname at the end of the publickey in authorized_keys
(because my other client system public keys that work have that entry
after the key) (of course I tried it without that also).
Anyway, here is ssh -vvv output from the client ...TIA

mendel:/export/home/devlp[4]% ssh -vvv actfoto@xxxxxxxxxxxxxxx

debug: Connecting to xxx.xxx.xxx.xxx, port 22... (SOCKS not used)

debug: Ssh2Transport/trcommon.c:3665/ssh_tr_create: My version:
SSH-1.99-3.2.3 SSH Secure Shell (non-commercial)

debug: client supports 3 auth methods:
'publickey,keyboard-interactive,password'

debug: Ssh2Common/sshcommon.c:537/ssh_common_wrap: local ip =
xxx.xxx.xxx.xxx, local port = 64564

debug: Ssh2Common/sshcommon.c:539/ssh_common_wrap: remote ip =
xxx.xxx.xxx.xxx, remote port = 22

debug: SshConnection/sshconn.c:1945/ssh_conn_wrap: Wrapping...

debug: SshReadLine/sshreadline.c:2414/ssh_readline_eloop_initialize:
Initializing ReadLine...

debug: Remote version: SSH-2.0-OpenSSH_4.2

debug: OpenSSH: Major: 4 Minor: 2 Revision: 0

debug: Ssh2Transport/trcommon.c:962/ssh_tr_input_version: All versions
of OpenSSH handle kex guesses incorrectly.

debug: Ssh2Transport/trcommon.c:1356/ssh_tr_negotiate: lang s to c: `',
lang c to s: `'

debug: Ssh2Transport/trcommon.c:1422/ssh_tr_negotiate: c_to_s: cipher
aes128-cbc, mac hmac-sha1, compression none

debug: Ssh2Transport/trcommon.c:1425/ssh_tr_negotiate: s_to_c: cipher
aes128-cbc, mac hmac-sha1, compression none

debug: Remote host key found from database.

debug: Ssh2Common/sshcommon.c:332/ssh_common_special: Received
SSH_CROSS_STARTUP packet from connection protocol.

debug: Ssh2Common/sshcommon.c:382/ssh_common_special: Received
SSH_CROSS_ALGORITHMS packet from connection protocol.

debug: server offers auth methods
'publickey,password,keyboard-interactive'.

debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1742/ssh_client_auth_pubkey:
Starting pubkey auth...

debug:
Ssh2AuthPubKeyClient/authc-pubkey.c:1699/ssh_client_auth_pubkey_agent_open_complete:
Agent is not running.

debug:
Ssh2AuthPubKeyClient/authc-pubkey.c:1497/ssh_client_auth_pubkey_agent_list_complete:
Got 0 keys from the agent.

debug: SshConfig/sshconfig.c:2717/ssh2_parse_config_ext: Unable to open
/export/home/devlp/.ssh2/identification

debug:
Ssh2AuthPubKeyClient/authc-pubkey.c:1477/ssh_client_auth_pubkey_add_candidates:
Trying 0 key candidates.

debug:
Ssh2AuthPubKeyClient/authc-pubkey.c:931/ssh_client_auth_pubkey_try_this_candidate:
All keys declined by server, disabling method.

debug: Ssh2AuthClient/sshauthc.c:319/ssh_authc_completion_proc: Method
'publickey' disabled.

debug: server offers auth methods
'publickey,password,keyboard-interactive'.

debug:
Ssh2AuthKbdInteractiveClient/authc-kbd-interactive.c:342/ssh_client_auth_kbd_interact:
Starting kbd-int auth...

Keyboard-interactive:

Password:

debug:
Ssh2AuthKbdInteractiveClient/authc-kbd-interactive.c:244/ssh_kbd_send_response_packet:
Sending response packet.

Keyboard-interactive:

debug:
Ssh2AuthKbdInteractiveClient/authc-kbd-interactive.c:244/ssh_kbd_send_response_packet:
Sending response packet.

debug: Ssh2Common/sshcommon.c:300/ssh_common_special: Received
SSH_CROSS_AUTHENTICATED packet from connection protocol.

debug: SshReadLine/sshreadline.c:2472/ssh_readline_eloop_uninitialize:
Uninitializing ReadLine...

Authentication successful.

debug: Ssh2Common/sshcommon.c:855/ssh_common_new_channel: num_channels
now 1

debug:
Ssh2ChannelSession/sshchsession.c:2726/ssh_channel_start_session_completion:
Requesting pty

debug:
Ssh2ChannelSession/sshchsession.c:2745/ssh_channel_start_session_completion:
Requesting x11 forwarding

X connection to mendel:21.0 broken (explicit kill or server shutdown).

.