Other *NIXThis forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Any idea on what gives? I suspect it may be that OS X's preferences gave me the internal IP address, not the external.
Thanks!
Last edited by wagscat123; 06-01-2015 at 09:16 PM.
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....
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
Starting Nmap 6.47 ( http://nmap.org ) at 2015-06-02 13:15 EDT
Note: Host seems down. If it is really up, but blocking our ping probes, try -Pn
Nmap done: 1 IP address (0 hosts up) scanned in 3.13 seconds
lynnes-iMac:stereo-pair CSSTinterns$ nmap -Pn ipaddress
Starting Nmap 6.47 ( http://nmap.org ) at 2015-06-02 13:17 EDT
Nmap scan report for ipaddress
Host is up.
All 1000 scanned ports on ipaddress are filtered
Nmap done: 1 IP address (1 host up) scanned in 201.42 seconds
lynnes-iMac:stereo-pair CSSTinterns$
For privacy reasons I replaced any mentioning of my IP address with "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?
Last edited by wagscat123; 06-02-2015 at 12:55 PM.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.