![]() |
2010-12-18
, 09:03
|
|
Posts: 549 |
Thanked: 299 times |
Joined on Jun 2010
@ Australian in the Philippines
|
#2
|
![]() |
2010-12-18
, 09:09
|
Posts: 109 |
Thanked: 45 times |
Joined on Aug 2010
|
#3
|
You do have a pipe - press the upward 45 degree blue arrow followed by the sym key, it'll pop up an on screen keyboard with a bunch more symbols.
Open up an x-term and run: (I assume root for this kind of stuff)
netstat -a | awk /ssh/
You should see a result, if not something is borked up and we could figure out that problem later. If you do see a result then enter ifconfig and double check your IP address - make sure you're SSH'ing to the N900.
Nitdroid will not mess with ssh at all.
Also it's /etc/init.d/ssh (not sshd)
![]() |
2010-12-18
, 09:23
|
Posts: 109 |
Thanked: 45 times |
Joined on Aug 2010
|
#4
|
You do have a pipe - press the upward 45 degree blue arrow followed by the sym key, it'll pop up an on screen keyboard with a bunch more symbols.
Open up an x-term and run: (I assume root for this kind of stuff)
netstat -a | awk /ssh/
You should see a result, if not something is borked up and we could figure out that problem later. If you do see a result then enter ifconfig and double check your IP address - make sure you're SSH'ing to the N900.
Nitdroid will not mess with ssh at all.
Also it's /etc/init.d/ssh (not sshd)
![]() |
2010-12-18
, 11:30
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#5
|
![]() |
2010-12-18
, 12:14
|
Posts: 109 |
Thanked: 45 times |
Joined on Aug 2010
|
#6
|
Try ssh'ing to the N900 from the N900 itself. That will rule out any network/firewall problems and confirm sshd is running.
![]() |
2010-12-18
, 16:26
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#8
|
netstat -a | grep ssh
netstat -a | grep 2222
ssh -vvv user@127.0.0.1
ssh -vvv -p 2222 user@127.0.0.1
![]() |
2010-12-19
, 07:50
|
Posts: 109 |
Thanked: 45 times |
Joined on Aug 2010
|
#9
|
Try ssh'ing to the N900 from the N900 itself. That will rule out any network/firewall problems and confirm sshd is running.
![]() |
2010-12-19
, 16:19
|
Posts: 992 |
Thanked: 738 times |
Joined on Jun 2010
@ Low Earth Orbit
|
#10
|
Tonight, back at work, now I'm able to ssh from the n900 to itself. Last night that wasn't working.
eachna@shell:~$ ssh -p2222 -vvv user@ipmunge
Ssh was working earlier this evening. Then I decided to install nitdroid. Nitdroid installed cleanly on my micro sd card and I was able to boot into it and download some marketplace apps.
Booted back into Maemo and everything "looked" good, until I tried to ssh into my n900. Any attempts to ssh to the wlan IP address time out.
I checked and openssh, openssh-client and openssh-server are all reported as still installed. However, just to be safe I uninstalled them and reinstalled them (and rebooted the phone). I reinstalled them a few times and rebooted. No go.
When I try /etc/init.d/sshd [start or stop], it's not found. I have no idea why apt reports this as installed (and successfully reinstalled) and the daemon isn't found.
I can't ps -aux | grep 'sshd' because I don't seem to have a pipe symbol on the keyboard (irritated aside -- who releases a linix phone without a pipe or a tilde???)
(a) does nitdroid installation break ssh (or was this just a coincidence)?
and
(b) how do I fix this, now? I need ssh more than I'd like nitdroid!
I pulled the microsd card out and reinstalled all the openssh stuff and it still doesn't work.
I just don't know what I could have broken, here. Searching the group for ssh didn't really turn up any threads that seemed relevant.