Reply
Thread Tools
Posts: 32 | Thanked: 2 times | Joined on Jul 2006
#1
I think there must be some sort of firewall blocking incoming ssh traffic to the 770. I can run "ssh root@localhost" from the 770, but when I do ssh root@192.168.0.105 it times out. :-(

Any idea on how to correct dis?

Last edited by soldstatic; 2007-04-09 at 19:30. Reason: SOLVED:
 
brendan's Avatar
Posts: 531 | Thanked: 79 times | Joined on Oct 2006 @ This side of insane, that side of genius
#2
on your 770, open xterm and type

netstat -na |grep 22

if you do not see an entry for LISTENING on port 22, then your ssh server is not up. by default, there is no firewall enabled on the tablet. secondly, i am not sure if ssh as root user is allowed. you may need to edit /etc/ssh/sshd_config. look for the entry "PermitRootLogin". if there is a # sign in front of it, the default of yes (or allow) is used.

the options available are yes, no, and without-password. without-password uses key based authentication. yes will allow root to ssh to the device using a password. no will no allow root to ssh to the device at all.
__________________
Nokia n800
OS 2008
Pharos iGPS 360-BT
ElmScan 5 BlueTooth
BlackBerry Bold (9000)
AT&T Wireless
 
Posts: 32 | Thanked: 2 times | Joined on Jul 2006
#3
well there's one listening to 2241 or something, but not on port 22. So nope I don't think its been set up. I saw in one of the wiki pages at maemo to go in and run /var/install/ssh/ssh_setup or something but i dont even have a directory /var/install..... ls /var gives me backups, cache, lib, local, lock, log, mail, opt, run, spool, tmp etc etc. no install dir in /var/lib either... i dunno how do i get that little shell script to set this stuff up?
 
johsua's Avatar
Posts: 449 | Thanked: 18 times | Joined on Apr 2006 @ Eureka, CA
#4
which version of ssh did you install? dropbear or the other one?
 
Posts: 32 | Thanked: 2 times | Joined on Jul 2006
#5
the other one, I had drop bear but uninstalled it (client and serer) so i could get openSSH. i used the entry in app manager that was empty package with ssh as a dep.
 
johsua's Avatar
Posts: 449 | Thanked: 18 times | Joined on Apr 2006 @ Eureka, CA
#6
you may want to uninstall openssh, and then try the following:
Add the correct repository entry for ssh to your application catalog - if it's not already there. This can be done through the app manager or manually by editing /etc/apt/sources or something like that (I don't have my tablet w/me). If you use the app manager to do this close it when you are done.

http://repository.maemo.org/
mistral
free

http://repository.maemo.org/
mistral
non-free

in xterm:
become root
>apt-get install ssh

answer yes to everything.

This should set everything up. If you haven't yet - you should create a password for root:

>passwd

This is how I have set up ssh several times with no problems.
 
Posts: 32 | Thanked: 2 times | Joined on Jul 2006
#7
well i ran apt-get remove ssh, then apt-get install ssh and it works fine now. oh well. thanks alot man, i really appreciate it!!
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:10.