<br><font size=2 face="sans-serif">Stefan wrote:</font>
<br><tt><font size=2>>Hello Everybody, I've been trying to find
some information on how to putty (my favorite windows ssh client) into
>my xs server (build 150). Putty's response: 'No supported authentication
methods available', which is also what I >find in /var/log/secure I
created a 1024 bit rsa key pair with puttygen and coppied the public part
to >~/.ssh/rsa_id.pub.I restarted sshd but it didn't help. (Automounting
the drivekey to /media would have been much >appreciated... - the XO
does that really nicely.) Any suggestions which way to turn? Having
never seen a well >set-up xs server, I don't quite know what to expect...-
I know Apache is running because I get the 'Fedora Test >Page' presented.
Shouldn't there be something else? - I have a dhcp enabled access point
connected to eth1, but I >can't log on to it with my XO. ifconfig shows:
eth1 (inet addr:172.18.0.1 Bcast:172.18.1.255 Mask:255.254.0) UP >BROADCAST
MULTICAST with 0 RX and TX packets eth1:1 (inet addr:172.18.1.1 Bcast:172.18.1.255
Mas<br>
> k:255.254.0) UP BROADCAST MULTICAST with no information on RX and
TX packets - The HWaddr for both is identical. >eth0 provided internet
connectivity right out of the box and says UP BROADCAST RUNNING MULTICAST.
I feel clue >less. The access point works fine - as soon as I connect
it directly to my switch the XO can connect to it. >ejabberd:
I followed the steps on http://wiki.laptop.org/go/XS_Configuration_Management
, but once I go to the web >interface, I can't log on. None of the created
user name - password combinations ever works. I guess I am spoiled
>from my CentOS SME server. Nice integrated web interface. Lots of functionality
out of the box. I really need to >get this box running. Everything above
was originally meant to be 'just a basic condition' - the important thing
- >with respect to an upcomming demonstration - is presenting dansguardian...
None the less is this an awsome project >deserving of some sweat
and tears ;-) Thank you all for your patience with my venting</font></tt>
<br><tt><font size=2>>Stefan</font></tt>
<br>
<br><font size=2 face="sans-serif">Hi Stefan,</font>
<br><font size=2 face="sans-serif">SSH is the first thing I got working,
as I find this essential. Here is diagram my test setup: (http://www.990tony.com/olpc/tony-build1.jpg)</font>
<br>
<br><font size=2 face="sans-serif">Windows----XP----XS----XO (XP
is a Proxy/Squid/DansG, XS is LAMP/Moodle, XO is laptop)</font>
<br>
<br><font size=2 face="sans-serif">From my Windows machine, I generated
SSH keys, and kept both public and private in .ssh directory under my userid.
(I used ssh-keygen -t dsa)</font>
<br>
<br><font size=2 face="sans-serif">C:\Documents and Settings\Anthony>dir
.ssh</font>
<br><font size=2 face="sans-serif"> Volume in drive C is IBM_PRELOAD</font>
<br><font size=2 face="sans-serif"> Volume Serial Number is 90B7-1915</font>
<br>
<br><font size=2 face="sans-serif"> Directory of C:\Documents and
Settings\Anthony\.ssh</font>
<br>
<br><font size=2 face="sans-serif">02/17/2008 10:57 AM <DIR>
.</font>
<br><font size=2 face="sans-serif">02/17/2008 10:57 AM <DIR>
..</font>
<br><font size=2 face="sans-serif">02/02/2008 01:16 PM
736 id_dsa</font>
<br><font size=2 face="sans-serif">02/02/2008 01:16 PM
613 id_dsa.pub</font>
<br><font size=2 face="sans-serif">02/17/2008 10:57 AM
395 known_hosts</font>
<br><font size=2 face="sans-serif">
3 File(s) 1,744 bytes</font>
<br><font size=2 face="sans-serif">
2 Dir(s) 1,436,667,904 bytes free</font>
<br>
<br><font size=2 face="sans-serif">I copied id_dsa.pub onto a USB key,
and mounted it onto my squid server. </font>
<br>
<br><font size=2 face="sans-serif">mkdir -p /root/.ssh</font>
<br><font size=2 face="sans-serif">cp /media/usb/id_dsa.pub /root/.ssh</font>
<br><font size=2 face="sans-serif">cd /root/.ssh</font>
<br><font size=2 face="sans-serif">touch authorized_keys</font>
<br><font size=2 face="sans-serif">cat id_dsa.pub >> authorized_keys</font>
<br><font size=2 face="sans-serif">chmod 400 authorized_keys</font>
<br><font size=2 face="sans-serif">cd ~</font>
<br>
<br><font size=2 face="sans-serif">(unless you add your key to authorized_keys
file, it won't work)</font>
<br>
<br><font size=2 face="sans-serif">Now, you have to do this process all
again from Squid to XS</font>
<br>
<br><font size=2 face="sans-serif">from /root on squid, generate a key,
copy pub to USB stick, copy over to XS, and add to end of its authorized_keys.</font>
<br>
<br><font size=2 face="sans-serif">For me to SSH over to my school server
(XS), I have to SSH over to Squid first, then from Squid to XS. Here's
what</font>
<br><font size=2 face="sans-serif">it looks like from my Windows box:</font>
<br>
<br><font size=2 face="sans-serif">C:\Documents and Settings\Anthony>ssh
-l root 192.168.0.29</font>
<br><font size=2 face="sans-serif">Enter passphrase for key '/home/Anthony/.ssh/id_dsa':</font>
<br><font size=2 face="sans-serif">Last login: Sat Feb 23 16:18:58 2008
from 192.168.0.10</font>
<br>
<br><font size=2 face="sans-serif">Welcome to an OLPC Squid Server</font>
<br><font size=2 face="sans-serif">[root@squid ~]# ssh -l root 10.0.0.77</font>
<br><font size=2 face="sans-serif">Enter passphrase for key '/root/.ssh/id_dsa':</font>
<br><font size=2 face="sans-serif">Last login: Sat Feb 23 15:36:33 2008
from 10.0.0.1</font>
<br>
<br><font size=2 face="sans-serif">Welcome to an OLPC Schoolserver</font>
<br><font size=2 face="sans-serif">[root@schoolserver ~]# mysqladmin version</font>
<br>
<br><font size=2 face="sans-serif">Notice that I purposely changed the
"welcome" and "[root@xxxxx ~]" prompt so I can keep
the two distinct.</font>
<br>
<br><font size=2 face="sans-serif">I now have two CMD windows on my Windows
box, one SSH to Squid, and the other SSH'd over to XS.</font>
<br>
<br><font size=2 face="sans-serif">I have not tried to do this from the
XO laptop in the reverse direction. Currently I am working on fixing
my iptables,</font>
<br><font size=2 face="sans-serif">as I can't get the XO to talk to anything
besides XS server.</font>
<br>
<br><font size=2 face="sans-serif">Thanks</font>
<br><font size=2 face="sans-serif"><br>
</font>
<table>
<tr>
<td bgcolor=#006699>
<td bgcolor=#006699>
<tr>
<td><img src=cid:_2_02A5290802A5254C000EA25C072573F9>
<td><font size=1 color=#0060a0 face="Microsoft Sans Serif"><b>Tony Pearson</b></font><font size=1 face="Microsoft Sans Serif"><br>
Senior Storage Consultant, IBM System Storage™<br>
Telephone: +1 520-799-4309 | tie 321-4309 | Cell: +1 520 990-8669<br>
email: tpearson@us.ibm.com | GSA: http://tucgsa.ibm.com/~tpearson<br>
Blog: </font><a href=http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage><font size=1 color=blue face="Microsoft Sans Serif"><u>http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage</u></font></a><font size=1 face="Microsoft Sans Serif"><br>
AKA: 990tony Paravane, eightbar specialist </font>
<tr>
<td bgcolor=#006699>
<td bgcolor=#006699></table>
<br>