SSH on My Mac
i am using this command ssh muhsin@200,172,11,2 for my server actually it takes a lot of time no reply no nothing else just waiting only finally it display timeout
so what i can do for that guys
MacBook Pro 13", 10.13
i am using this command ssh muhsin@200,172,11,2 for my server actually it takes a lot of time no reply no nothing else just waiting only finally it display timeout
so what i can do for that guys
MacBook Pro 13", 10.13
The address you are showing is a public address. If that is intended, did you open up tcp port 22 on your firewall to allow access to this service? If you put a client on the same LAN network as your server, can you connect via SSH using the LAN address of the machine? If you can connect via the LAN, then you have a firewall configuration issue. From outside your LAN, try handshaking with the service using nc 200.172.11.2 22 Do the same on your LAN (I will assume you are on a 192.168.0.0/24 network and the server is at address 192.168.0.2) using nc 192.168.0.2 22
As an aside, please be aware that SSH scanners are very common and if you open this port to the world, the world will come knocking.
Hope this helps.
The address you are showing is a public address. If that is intended, did you open up tcp port 22 on your firewall to allow access to this service? If you put a client on the same LAN network as your server, can you connect via SSH using the LAN address of the machine? If you can connect via the LAN, then you have a firewall configuration issue. From outside your LAN, try handshaking with the service using nc 200.172.11.2 22 Do the same on your LAN (I will assume you are on a 192.168.0.0/24 network and the server is at address 192.168.0.2) using nc 192.168.0.2 22
As an aside, please be aware that SSH scanners are very common and if you open this port to the world, the world will come knocking.
Hope this helps.
First lets try the obvious elephant in the room.
A valid IP address has full stops in it and not commas, so the proper command would be -
ssh muhsin@200.172.11.2
(It should be noted the French - a nation of contrarians use commas as decimal separators unlike most civilised countries ;) )
The following assumes a version of Server.app prior to 5.7.1 and prior to Mojave.
Remote management access via ssh will have to be enabled in Server.app, and access allowed for specific, or admin, or all users.
In Server.app circa 5.3 (what’s handy), select the server name at the top of the left column of the main Server.app display, then select settings, then enable ssh and any other desired remote access. Then select the Access tab, and select the users allowed access to the server.
If the connection is remote, a network path will have to be available through any intervening firewalls, as well. Port forwarding or related access rules.
That’s aso not a valid IP address fir ou ssh command. I’ll assume that’s a typo.
SSH on My Mac