Creating OS X ssh server
Hi all,
I'm having trouble setting up my iMac to be accessed by Linux machines at home and on vacation to be able to be remotely accessed and managed via ssh. I followed these directions: http://osxdaily.com/2011/09/30/remot...rver-mac-os-x/ And when I set it up, OS X told me to log in by typing "ssh username@ip.address", except with the actual login values. When I tried this from my home machines, I got: Code:
ssh_exchange_identification: read: Connection timed out Thanks! |
Well, can you ssh from another machine within the LAN? If you're trying to reach it from the internet, you will need to configure your firewall/router first.
I would also expect to see the port status at the router.... Code:
nmap <router-public-IP-address |
I can check the port status until later, but if it adds anything I'm connecting through a campus network that has thongs like a log in when you first connect a new device and allocates bandwidth to individual users.
|
I ran nmap on the host with the IP address, and got
Code:
lynnes-iMac:stereo-pair CSSTinterns$ nmap ipaddress I also tried sshing in the same university wireless network (and presumable the same LAN), and had the same results. One of my co-workers uses vpm before he sshs into a faculty member's computer. Do you think I want to do something like that? |
If you're trying to connect into a network that you don't administrate, you'll need to get their advice about accessing servers. If your colleague connects via VPN (as I also do in when working remote from my workplace), then you'll probably find that you need to do the same. You should then be able to ping the machine via it's LAN IP address, and check with nmap (or telnet) that is is listening on the configured port (22 by default).
|
I can switch it to a public Wi-fi yet and the same issue arises. Should there theoretically be no issue then and I can simple go with setting up ssh in OS X's preferences? I'll still try that anyways though.
|
nmap still failed with the same output, telnet failed, and when I ran ping, it gave me no output until I Ctrc+C'ed it. Here was its output from when I pinged from another computer:
Code:
-bash-4.1$ ping ip.address Could port forwarding be part of the solution? |
Ask your network administrators for help. They should be able to help you access the server remotely.
|
I guess I'll do that. Thanks!
|
All times are GMT -5. The time now is 04:05 PM. |