Vejam o que ocorre: Tudo no mesmo terminal:
carlos@leao:~$ nmap -p 22 localhost
Starting Nmap 4.53 (
http://insecure.org ) at 2008-03-07 20:05 BRT
Interesting ports on localhost (127.0.0.1):
PORT STATE SERVICE
22/tcp open ssh
Nmap done: 1 IP address (1 host up) scanned in 0.121 seconds
carlos@leao:~$ su root
Senha:
root@leao:/home/carlos# ssh -p xxxxx xxxxx.serveftp.com
Password:
Last login: Fri Mar 7 17:40:17 2008 from bd06e5f7.poa.virtua.com.br
virgem ~ # ping carlosxxxxx.myftp.org
PING carlosxxxxx.myftp.org (201.66.197.117) 56(84) bytes of data.
64 bytes from 201-66-197-117.paemt702.dsl.brasiltelecom.net.br (201.66.197.117): icmp_seq=1 ttl=60 time=157 ms
64 bytes from 201-66-197-117.paemt702.dsl.brasiltelecom.net.br (201.66.197.117): icmp_seq=2 ttl=60 time=56.5 ms
--- carlosxxxxx.myftp.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 56.548/106.984/157.421/50.437 ms
virgem ~ # nmap -p 22 carlosxxxxx.myftp.com
Starting Nmap 4.20 (
http://insecure.org ) at 2008-03-07 20:06 BRT
caught SIGINT signal, cleaning up
virgem ~ # nmap -p 22 carlosxxxxx.myftp.org
Starting Nmap 4.20 (
http://insecure.org ) at 2008-03-07 20:06 BRT
Interesting ports on 201-66-197-117.paemt702.dsl.brasiltelecom.net.br (201.66.197.117):
PORT STATE SERVICE
22/tcp filtered ssh
Nmap finished: 1 IP address (1 host up) scanned in 0.943 seconds
virgem ~ #