F12: ssh change port number
Soo-Hyun Choi
s.choi at hackers.org.uk
Sun Nov 22 18:35:05 UTC 2009
>
> i have changed that line to 2222;
>
> # nmap localhost
> Starting Nmap 5.00 ( http://nmap.org ) at 2009-11-22 19:10 CET
> Interesting ports on localhost.localdomain (127.0.0.1):
> Not shown: 993 closed ports
> PORT STATE SERVICE
> 25/tcp open smtp
> 80/tcp open http
> 111/tcp open rpcbind
> 443/tcp open https
> 631/tcp open ipp
> 2222/tcp open unknown
> 3306/tcp open mysql
>
> # ssh -p 2222 localhost
> The authenticity of host '[localhost]:2222 ([127.0.0.1]:2222)' can't
> be established.
> RSA key fingerprint is eb:e7:36:5f:a3:ba:81:eb:d4:6a:f9:18:f7:25:d6:16.
> Are you sure you want to continue connecting (yes/no)?
>
>
> so i thinks that you need to open this port from firewall (to
> iagnostic just disable it by: service iptables stop)
Hooray, yes, I have overlooked the iptables settings - I thought there
wasn't any firewall rules as it was just a fresh installation, but
there were! I have disabled the iptables, and everything is working
fine now.
Thanks,
Soo-Hyun
>
> HTH
>
>
>
> --
> Athmane Madjoudj
More information about the fedora-list
mailing list