View Single Post
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#26
Originally Posted by Crogge View Post
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
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
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg