<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>dropbear and ssh keys</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hello, I am having trouble getting ssh keys to work with dropbear. I have downloaded and compiled buildroot, with BusyBox v1.1.0-pre1 and Dropbear sshd v0.46. I have compiled dropbear with:<BR>
Use /dev/urandom (low entropy systems only). I am working on a small cluster. The admin node has a full Linux distribution (Red Hat Enterprise Linux WS release 4) and the compute nodes are running the minimal linux. The admin node is using ssh: F-Secure SSH 3.2.3 (build 14) on i686-pc-linux-gnu. I have created the public and private keys on the admin node using the following command:<BR>
<BR>
ssh-keygen -b 1024 -t rsa<BR>
<BR>
and copied the public key into the compute node's /root/.ssh/authorized_keys<BR>
<BR>
(I have also tried to this for dss keys).<BR>
<BR>
However, when I try to ssh to a compute node, I receive the following messages, and am prompted for a password. Password authentication works fine, but to do mpi runs, I need to be able to login without a password. Am I missing something obvious? Does dropbear understand the ssh-key format or do I have to convert them using dropbearconvert?<BR>
<BR>
root@chicken root]# ssh -vvv n1<BR>
debug: Connecting to n1, port 22... (SOCKS not used)<BR>
debug: Ssh2Transport/trcommon.c:3748/ssh_tr_create: My version: SSH-1.99-3.2.9 0<BR>
debug: client supports 4 auth methods: 'gssapi,kerberos-tgt-2@ssh.com,kerberos-'<BR>
debug: Ssh2Common/sshcommon.c:587/ssh_common_wrap: local ip = 192.168.1.100, lo4<BR>
debug: Ssh2Common/sshcommon.c:589/ssh_common_wrap: remote ip = 192.168.1.20, re2<BR>
debug: SshConnection/sshconn.c:1945/ssh_conn_wrap: Wrapping...<BR>
debug: SshReadLine/sshreadline.c:2432/ssh_readline_eloop_initialize: Initializi.<BR>
debug: Remote version: SSH-2.0-dropbear_0.46<BR>
debug: Ssh2Transport/trcommon.c:1376/ssh_tr_negotiate: lang s to c: `', lang c '<BR>
debug: Ssh2Transport/trcommon.c:1441/ssh_tr_negotiate: c_to_s: cipher 3des-cbc,e<BR>
debug: Ssh2Transport/trcommon.c:1444/ssh_tr_negotiate: s_to_c: cipher 3des-cbc,e<BR>
debug: Remote host key found from database.<BR>
debug: Ssh2Common/sshcommon.c:379/ssh_common_special: Received SSH_CROSS_STARTU.<BR>
debug: Ssh2Common/sshcommon.c:429/ssh_common_special: Received SSH_CROSS_ALGORI.<BR>
debug: server offers auth methods 'publickey,password'.<BR>
debug: Ssh2AuthPasswdClient/authc-passwd.c:105/ssh_client_auth_passwd: Starting.<BR>
root's password:</FONT>
</P>

</BODY>
</HTML>