OT: SSH on OS X

J. Landman Gay jacque at hyperactivesw.com
Tue Jan 16 20:11:28 EST 2007


Brent Anderson wrote:
> Hello.
> 
> I'd assume that it would only port forward on incoming WAN traffic since 
> the router is performing network address translation. The forwarding 
> lets the router know where incoming traffic should go since you could 
> have hundreds of computers behind the same router. What kind of denial 
> messages are you getting, as that could hint at what is causing the 
> problem.

It said:
ssh: connect to host 192.168.0.6 port 22: Connection refused

Not much to go on. But then I tried it about an hour later and it 
worked. So I must have changed something, but I'm not sure what. It does 
help to know that internal IP addresses aren't affected by the router 
settings, so I could ignore that piece.

> Also, Hamachi's GUI is Windows only IF you go through just Hamachi. 
> There is a graphical client called HamachiX (http://hamachix.com) that 
> does lack some of the functionality of the Windows version since it is 
> not officially supported by the Hamachi team (Chatting, pings from in 
> application, premium accounts, "magic ports") but does just as well and 
> even lets you set up quick-connect options for FTP, AFP, SFTP, and other 
> services. HamachiX is nice if you want the GUI, but the command line 
> version (Which, I believe, is installed by HamachiX) is very functional 
> and is sometimes preferable to the GUI if you're trying to troubleshoot 
> your Hamachi connection. Type "hamachi -h" from the command line for 
> usage information once it's installed on your system. If you're just 
> looking for the command line, the source compilation instructions are 
> rather lightweight and can be found in the included README file. It 
> doesn't tell you that to do something as root you prepend the command 
> with the command "sudo " and enter your administrator password.

I'll bookmark this. They say that it doesn't work yet with Intel Macs, 
which is what I'd want to use, but they are working on it. I can put it 
on my Powerbook though. As for compiling -- lightweight or no -- you 
have to remember you are talking to a command line idiot here. (But I do 
know about five words in Unix now. ;))

My eventual goal is to get VNC working via ssh, so I can help my mother 
with her computer. For anyone who is following my stumbling around, I'm 
trying to implement this trick:

<http://www.macosxhints.com/article.php?story=20050429153115383>

I need to use reverse port mapping because my mom is behind a firewall 
that neither of us can control. I think I'm about 2/3 of the way there 
now. I made the self-running Terminal file and it seems to work (except 
for the warning I get once in a while that "checking getaddrinfo failed" 
and that I am a possible breakin attempt.)

Thanks for being willing to help while I muddle through this.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list