View Single Post
Posts: 543 | Thanked: 151 times | Joined on Feb 2010 @ Germany
#27
Originally Posted by SubCore View Post
hehe sorry i'm used to certain parameters i use on desktop / server systems all the time. -pan is one of them

":ssh" is equal to the ":22" i was talking about, the -n parameter for netstat should trigger the display of port numbers instead service names.
anyhow...

do you have some sort of firewall configured which may be blocking port 22 on your wlan?
you could try to change the port on which sshd listens:

Code:
sudo gainroot
cd /etc/ssh
cp sshd_config sshd_config.bak
cat sshd_config.bak | sed 's/Port 22/Port 2022/' > sshd_config
initctl stop sshd
initctl start sshd
with these commands, you create a backup file of your current config, and then use the tool "sed" to change the value for Port from 22 to 2022.
(or you edit the file sshd_config some other way, with vim f.ex.).

now you can try connecting to the device using the new port:
Code:
ssh -p 2022 root@n900.ip
I have set the SSH server to port "2222" and restarted it, I can connect locally just fine on port 2222 with SSH. But I still can't connect per WLAN or GPRS to SSH, only VNC works perfectly.

I tested already another SSH client and my notebook, even my N95 to be sure that the problem is not on the client side. That displayed the following error "Host unreachable (-191)".

Any idea why the SSH server accepts only local connections?

Last edited by Crogge; 2010-02-12 at 00:49.