Author Topic: openSSH 3.6.1 connecting from PC times out  (Read 3362 times)

GuruGeek2002

  • Newbie
  • *
  • Posts: 36
    • View Profile
openSSH 3.6.1 connecting from PC times out
« on: November 20, 2004, 08:51:27 am »
Hello,

I've installed openSSH 3.6.1 on my Zaurus 6000L.  I've generated the key files.  When I type sshd to start the deamon, it returns a cursor.  No errors or warnings are displayed.

I launch putty on my pc, type in the ip number of my zaurus, choose ssh in putty and click on connect.  It never connects.  I always get a "connection timed out" error.

Is there something I'm missing with setting up openSSH on the Zaurus 6000L ?

Thanks,
Roger
Zaurus 6000L
1GB 32x Lexar SD Card
32mb CF
8mb CF

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
openSSH 3.6.1 connecting from PC times out
« Reply #1 on: November 21, 2004, 06:09:36 am »
Check connection settings: Can you ping both ways? Have you set a manual IP address on the PC (rather than it setting its own), etc.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

GuruGeek2002

  • Newbie
  • *
  • Posts: 36
    • View Profile
openSSH 3.6.1 connecting from PC times out
« Reply #2 on: November 21, 2004, 08:32:42 am »
Can I ping both ways?....

The PC can load pages in a browser.  The Zaurus is online and can load pages.  I can type ping www.yahoo.com and they both return data.  

It just seems that the sshd on the zaurus is not responding to any requests....
Zaurus 6000L
1GB 32x Lexar SD Card
32mb CF
8mb CF

aki

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://www.akiaki.org
openSSH 3.6.1 connecting from PC times out
« Reply #3 on: November 21, 2004, 11:47:27 am »
Being able to load pages on a browser does not ensure you have the right IP address or that the PC can access it.
You can start by verifing the Zaurus IP address by typing "ifconfig" on a terminal window.
Then ping the Z using the IP address you just verified to ensure the PC has a route to it.

sl-5500 Sharp 2.38 ROM + sl-6000L w/ expansion adapter
Trendnet CF Ethernet + Micro Innovations IR Keyboard
------
sip: 544187@fwd.pulver.com

My Zaurus Page

GuruGeek2002

  • Newbie
  • *
  • Posts: 36
    • View Profile
openSSH 3.6.1 connecting from PC times out
« Reply #4 on: November 21, 2004, 12:03:14 pm »
Yes, I run ifconfig and I get the ip number.

I open a browser on my desktop and type the ip number.  

I get the html page that I created on the zaurus and stored in the proper directory.

I can also pull up via the desktop pc, the php info page I created and store on the zaurus.



Using ping is different then typing an IP address in a browser and getting a page rather then "Server not found" message?

Thanks,
Roger
Zaurus 6000L
1GB 32x Lexar SD Card
32mb CF
8mb CF

GuruGeek2002

  • Newbie
  • *
  • Posts: 36
    • View Profile
openSSH 3.6.1 connecting from PC times out
« Reply #5 on: November 22, 2004, 09:03:51 am »
I've just tested the ping.

I am able to ping the Z from my desktop.

Still am unable to get ssh to connect, it's timing out.
Zaurus 6000L
1GB 32x Lexar SD Card
32mb CF
8mb CF

GuruGeek2002

  • Newbie
  • *
  • Posts: 36
    • View Profile
openSSH 3.6.1 connecting from PC times out
« Reply #6 on: November 22, 2004, 09:12:11 am »
SOLVED!!!!!

This morning, for some reason, I'm able to login.

This time I went into /usr/sbin

and typed sshd and it returned a cursor.

Went to the desktop and used putty and I'm able to get in!!

Thanks for all the help!!!!!!
Zaurus 6000L
1GB 32x Lexar SD Card
32mb CF
8mb CF

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
openSSH 3.6.1 connecting from PC times out
« Reply #7 on: November 22, 2004, 10:40:37 am »
sshd should start automatically when requested first.

So it looks like inetd or some similar service is not initialized/configured properly. This should be done by the postinst script of the .ipk.

What I can recommend to try is to manually install openssh and look for installation error messages. On Zaurus do:

# cd <directory where openssh.ipk resides>
# ipkg install openssh.ipk

-- hns
« Last Edit: November 22, 2004, 10:41:35 am by dhns »
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

GuruGeek2002

  • Newbie
  • *
  • Posts: 36
    • View Profile
openSSH 3.6.1 connecting from PC times out
« Reply #8 on: November 23, 2004, 12:33:02 pm »
I think I may have found the issue...

Here at work, once you connect via wi-fi you MUST open a browser and authenticate via the company portal.  If you are not authenticated, your machine is blocked from transmitting or receiving data.

Today I was unable to login via ssh.  Once I authenticated via the web portal, I was able to login via ssh.

Sorry if this caused confusion.  I should have had a better understanding of my own environment...

Thanks,
Roger
Zaurus 6000L
1GB 32x Lexar SD Card
32mb CF
8mb CF