[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openmosix-general
Subject:    Re: [openMosix-general] FW: ssh problems
From:       "Matt Rechenburg" <matteverywhere () googlemail ! com>
Date:       2006-03-29 11:58:59
Message-ID: 550e89830603290358h13254a98of60b650feb88037 () mail ! gmail ! com
[Download RAW message or body]

Hi again Andrea,

the output of the last mail got corrupted. Here the end of my message again
:

 Please try this :

noraml ssh to localhost using password :

[root@demo ~]# ssh localhostroot@localhost's password:
Last login: Wed Mar 29 11:44:31 2006 from localhost.localdomain
[root@demo ~]# logout
Connection to localhost closed.
[root@demo ~]#

This was just for testign, logged out again.
Now

[root@demo ~]# cat .ssh/id_rsa.pub >> .ssh/authorized_keys2
[root@demo ~]# ssh localhost
Last login: Wed Mar 29 11:44:53 2006 from localhost.localdomain
[root@demo ~]#

and passwordless ssh to localhost works.
The cat command added the rsa-key from localhost to the
.ssh/authorized_key2 file which controls the public key authentification.

This should work for you ;)
Then just copy the content of your .ssh/id_rsa.pub to every
system in your cluster at /root/.ssh/authorized_keys2

hope you will get it working,

Matt



On 3/29/06, Andres De Carlo <larenga@usa.net> wrote:
>
>
>
>
>  ------------------------------
>
> *From:* Andres De Carlo [mailto:andy@studio920.com]
> *Sent:* Tuesday, March 28, 2006 2:19 PM
> *To:* 'openmosix-general@lists.sourceforge.net'
> *Subject:* ssh problems
>
>
>
> Hi to all:
>
>
>
> I have still problems to configure ssh to make it work with openmosixview=
.
> I have tried everything so here is the output that I get when I try to
> connect.
>
>
>
> [root@node2 root]# ssh -v 192.168.1.110
>
> OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
>
> debug1: Reading configuration data /etc/ssh/ssh_config
>
> debug1: Applying options for *
>
> debug1: Connecting to 192.168.1.110 [192.168.1.110] port 22.
>
> debug1: Connection established.
>
> debug1: permanently_set_uid: 0/0
>
> debug1: identity file /root/.ssh/identity type -1
>
> debug1: identity file /root/.ssh/id_rsa type -1
>
> debug1: identity file /root/.ssh/id_dsa type 2
>
> debug1: Remote protocol version 1.99, remote software version
> OpenSSH_3.9p1
>
> debug1: match: OpenSSH_3.9p1 pat OpenSSH*
>
> debug1: Enabling compatibility mode for protocol 2.0
>
> debug1: Local version string SSH-2.0-OpenSSH_3.9p1
>
> debug1: SSH2_MSG_KEXINIT sent
>
> debug1: SSH2_MSG_KEXINIT received
>
> debug1: kex: server->client aes128-cbc hmac-md5 none
>
> debug1: kex: client->server aes128-cbc hmac-md5 none
>
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<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 '192.168.1.110' is known and matches the RSA host key.
>
> debug1: Found key in /root/.ssh/known_hosts:1
>
> 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: /root/.ssh/identity
>
> debug1: Trying private key: /root/.ssh/id_rsa
>
> debug1: Offering public key: /root/.ssh/id_dsa
>
> debug1: Authentications that can continue:
> publickey,password,keyboard-interactive
>
> debug1: Next authentication method: keyboard-interactive
>
> debug1: Authentications that can continue:
> publickey,password,keyboard-interactive
>
> debug1: Next authentication method: password
>
> root@192.168.1.110's password:
>
> debug1: Authentication succeeded (password).
>
> debug1: channel 0: new [client-session]
>
> debug1: Entering interactive session.
>
> debug1: Requesting X11 forwarding with authentication spoofing.
>
> Last login: Tue Mar 28 13:39:24 2006 from 192.168.1.105
>
> [root@node6 root]#
>
>
>
> So as you can see I don't get prompt for the passphrase only the password
> and I know it is reading the file etc/ssh/sshd_config but I can't figure =
out
> why is not taking the passphase that I generate and only the password. I =
can
> login if I use my root password, so I don't know what I am doing wrong or
> what I should change in sshd_config. By the way I am trying to use no
> password, I don't know if that's why I don't get prompt for the password =
I
> thought I should anyways.
>
>
>
> Thanks in advance and thanks for the ones that have reply my old emails.
>
>
>
> Andy
>
>
>

[Attachment #3 (text/html)]

Hi again Andrea,<br>
<br>
the output of the last mail got corrupted. Here the end of my message again :<br>
<br>



<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Kate, the KDE Advanced Text Editor">

<pre>Please try this :

noraml ssh to localhost using password :

[root@demo ~]# ssh localhost
root@localhost's password:
Last login: Wed Mar 29 11:44:31 2006 from localhost.localdomain
[root@demo ~]# logout
Connection to localhost closed.
[root@demo ~]#

This was just for testign, logged out again.
Now 

[root@demo ~]# cat .ssh/id_rsa.pub &gt;&gt; .ssh/authorized_keys2
[root@demo ~]# ssh localhost
Last login: Wed Mar 29 11:44:53 2006 from localhost.localdomain
[root@demo ~]#

and passwordless ssh to localhost works.
The cat command added the rsa-key from localhost to the
.ssh/authorized_key2 file which controls the public key authentification.

This should work for you ;)
Then just copy the content of your .ssh/id_rsa.pub to every
system in your cluster at /root/.ssh/authorized_keys2

hope you will get it working,

Matt</pre><br><br><div><span class="gmail_quote">On 3/29/06, <b \
class="gmail_sendername">Andres De Carlo</b> &lt;<a \
href="mailto:larenga@usa.net">larenga@usa.net</a>&gt; wrote:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> <div style="direction: ltr;">















<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; \
font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; \
font-family: Arial; color: navy;">&nbsp;</span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" \
size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; \
font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span \
style="font-size: 10pt; font-family: Tahoma;"> Andres De Carlo [mailto:<a \
href="mailto:andy@studio920.com" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">andy@studio920.com</a>] <br> <b><span \
style="font-weight: bold;">Sent:</span></b> Tuesday, March 28, 2006 2:19 PM<br>
<b><span style="font-weight: bold;">To:</span></b> '<a \
href="mailto:openmosix-general@lists.sourceforge.net" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">openmosix-general@lists.sourceforge.net</a> \
'<br> <b><span style="font-weight: bold;">Subject:</span></b> ssh \
problems</span></font></p>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: \
12pt;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi \
to all: </span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: \
Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I \
have still problems to configure ssh to make it work with openmosixview. I have tried \
everything so here is the output that I get when I try to connect.</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: \
Arial;">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">[root@node2 \
root]# ssh -v <a href="http://192.168.1.110" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">192.168.1.110</a></span> </font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">OpenSSH_3.9p1, \
OpenSSL 0.9.7a Feb 19 2003</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Reading \
                configuration data
/etc/ssh/ssh_config</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Applying \
options for *</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
Connecting to <a href="http://192.168.1.110" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">192.168.1.110</a> [<a \
href="http://192.168.1.110" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)"> 192.168.1.110</a>]
port 22.</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
Connection established.</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
permanently_set_uid: 0/0</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: identity \
file /root/.ssh/identity type -1</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: identity \
file /root/.ssh/id_rsa type -1</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: identity \
file /root/.ssh/id_dsa type 2</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Remote \
protocol version 1.99, remote software version OpenSSH_3.9p1</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: match: \
OpenSSH_3.9p1 pat OpenSSH*</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Enabling \
compatibility mode for protocol 2.0</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Local \
version string SSH-2.0-OpenSSH_3.9p1</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
SSH2_MSG_KEXINIT sent</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
SSH2_MSG_KEXINIT received</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: kex: \
server-&gt;client aes128-cbc hmac-md5 none</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: kex: \
client-&gt;server aes128-cbc hmac-md5 none</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1:
SSH2_MSG_KEX_DH_GEX_REQUEST(1024&lt;1024&lt;8192) sent</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: expecting \
SSH2_MSG_KEX_DH_GEX_GROUP</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
SSH2_MSG_KEX_DH_GEX_INIT sent</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: expecting \
SSH2_MSG_KEX_DH_GEX_REPLY</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Host '<a \
href="http://192.168.1.110" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">192.168.1.110</a>' is known and matches the \
RSA host key.</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Found key \
in /root/.ssh/known_hosts:1</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
ssh_rsa_verify: signature correct</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
SSH2_MSG_NEWKEYS sent</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: expecting \
SSH2_MSG_NEWKEYS</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
SSH2_MSG_NEWKEYS received</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
SSH2_MSG_SERVICE_REQUEST sent</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
SSH2_MSG_SERVICE_ACCEPT received</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
Authentications that can continue: \
publickey,password,keyboard-interactive</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Next \
authentication method: publickey</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Trying \
private key: /root/.ssh/identity</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Trying \
private key: /root/.ssh/id_rsa</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Offering \
public key: /root/.ssh/id_dsa</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
Authentications that can continue: \
publickey,password,keyboard-interactive</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Next \
authentication method: keyboard-interactive</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
Authentications that can continue: \
publickey,password,keyboard-interactive</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Next \
authentication method: password</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;"><a \
href="mailto:root@192.168.1.110" target="_blank" onclick="return \
top.js.OpenExtLink(window,event,this)">root@192.168.1.110</a>'s \
password:</span></font> </p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
Authentication succeeded (password).</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: channel \
0: new [client-session]</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: Entering \
interactive session.</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">debug1: \
Requesting X11 forwarding with authentication spoofing.</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">Last login: Tue \
Mar 28 13:39:24 2006 from <a href="http://192.168.1.105" target="_blank" \
onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.105</a></span></font></p>


<p><font face="Courier New" size="2"><span style="font-size: 10pt;">[root@node6 \
root]#</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: \
10pt;">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">So as you can see \
I don't get prompt for the passphrase only the password and I know it is reading the \
file etc/ssh/sshd_config but I can't figure out why is not taking the
passphase that I generate and only the password. I can login if I use my root
password, so I don't know what I am doing wrong or what I should change
in sshd_config. By the way I am trying to use no password, I don't know
if that's why I don't get prompt for the password I thought I
should anyways.</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: \
10pt;">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: 10pt;">Thanks in advance \
and thanks for the ones that have reply my old emails.</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: \
10pt;">&nbsp;</span></font></p>

<p><font face="Courier New" size="2"><span style="font-size: \
10pt;">Andy</span></font></p>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: \
Arial;">&nbsp;</span></font></p>

</div>





</div></blockquote></div><br>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
openMosix-general mailing list
openMosix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openmosix-general

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic