Women in Technology

Hear us Roar



Article:
  VPN on Mac OS X
Subject:   how
Date:   2003-01-27 21:37:37
From:   redhotdaddy
how do i find the name of my computer as a slave machine?


I want to tunnel through my current network to another. Also I got stuck at teh password promt in this part:
$ sudo scp /var/root/.ssh/id_rsa.pub vpn@utopia.lifehertz.com:~
The authenticity of host 'utopia (24.218.227.101)' can't be established.
RSA key fingerprint is 00:41:24:66:bf:d4:38:d4:cb:2a:e2:75:93:74:d2:9e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'utopia,24.218.227.101' (RSA) to the list of known hosts.
vpn@utopia's password:
id_rsa.pub 100% |**********************************************************************| 123


once I entered my password I got nothing. I had to escape with a ^C.


any ideas?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Jason Deraleau photo how
    2003-01-28 07:53:07  Jason Deraleau | O'Reilly Author [View]

    The slave machine must be accessible from the Internet. If it is directly connected to the Internet it should have a DNS entry, which would either be something you had to configure yourself; something your network administrator configured; or maybe something your ISP provides for you. If you don't have a DNS entry for the machine, you can use the machine's IP address instead.

    If you are behind a NAT router of some sort, you're going to need to forward the SSH port (22) to the internal machine. You'd then want to use your NAT router's IP for the slave machine entry.

    If it prompted you for the password then you are connecting properly to the remote machine and it is responding. If it is then just sitting there it could be an issue with the SSH daemon on the remote machine authenticating your connection. Unfortunately troubleshooting SSH is really beyond the scope of this article.

    In my personal experience, sshd will often hang if the remote machine is not able to do a reverse lookup on the IP address that is connecting. If you are connecting from a machine with an RFC1918 IP (i.e. 192.168.x.x/24, 10.x.x.x/8, 172.16.x.x/16) and do not have reverse DNS entries for those IPs, that might be at fault. In that case however, it will hang for maybe 30 seconds (until the lookup times out) and then it should let you in. If it's still not letting you in, I'm honestly not sure what would be causing the problem. You might have some luck searching Google for "BSD sshd refuses connection" or "BSD ssh connection times out". Good luck!