Re: ssh doesn't work.
Hi,
On Tue, Dec 06, 2016 at 01:33:07PM +0900, EenyMeenyMinyMoa wrote:
> But when I execute either of these commands
> $ ssh -p 9999 testac@192.168.0.5
> $ ssh -p 9999 -l testac -i ~/.ssh/id_rsa_test 192.168.0.5
> , the terminal doesn't resopnd for minutes and finally gives this message.
> ssh: connect to host 192.168.0.5 port 9999: Connection timed out
The settings you've shown seem correct but the above output implies
a lack of connectivity. Have you checked there is no firewall
preventing port 9999 TCP communication?
To list rules:
# iptables -nL
If that comes up empty, some basic connectivity checks (ping
192.168.0.5 from client) may be useful.
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
"I'd be happy to buy all variations of sex to ensure I got what I wanted."
— Gary Coates (talking about cabling)
Reply to: