Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

nigelquest

macrumors member
Original poster
Jan 30, 2008
89
0
I am using mobileterminal to SSH in to a Ubuntu box, but it keeps timing out without connecting. I can ping and ssh in to the iphone, just not from the iphone in to the box. I am using root@@192.168.1.xxx (my correct ip address) to log in. Any suggestions? Thanks!
 
It could be the router or firewall. You need to enable port forwarding on the router so it can let ssh requests pass to the computer, and have the firewall allow the ssh port too. What firewall are you using?
 
Im not using a firewall. Im booting into ubuntu off a disk on a windows machine. Ill try forwarding port 22 and see if that helps.
 
You have to install opensshd to set up the ssh server. I don't know if the wubi disk has it ready to go.

sudo aptitude install opensshd
 
The port forwarding worked. Once I forwarded port 22 on my router to my computers ip address I could ssh right in.

I needed to dump my disk because I had a lock up and had to restore but I have unbacked up pictures. Its backing up now so hopefully i can extract them.

Thanks for the help!
 
If you need public-internet to private-intranet through your Linksys (or link) router, I'd recommend (at the very least) forwarding a randomly chosen port to 22. Port 22 is well known. You'll get multiple attacks per minute once they find you. Believe me...I speak from experience.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.