removido
(usa Nenhuma)
Enviado em 11/10/2013 - 19:42h
Instalando Debian 7
Nao consigo acessar o ssh fora da rede, antes funcionava...
- modem rede interna - opcao "nat" ativa;
- porta no modem 2222 liberada;
-----------------------------------------------------------------
# nmap -v -sT localhost
Starting Nmap 6.00 (
http://nmap.org ) at 2013-10-11 09:08 EDT
Initiating Connect Scan at 09:08
Scanning localhost (127.0.0.1) [1000 ports]
Discovered open port 22/tcp on 127.0.0.1
Discovered open port 111/tcp on 127.0.0.1
Discovered open port 25/tcp on 127.0.0.1
Completed Connect Scan at 09:08, 0.01s elapsed (1000 total ports)
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00019s latency).
Other addresses for localhost (not scanned): 127.0.0.1
Not shown: 997 closed ports
PORT STATE SERVICE
22/tcp open ssh <-----
25/tcp open smtp
111/tcp open rpcbind
Read data files from: /usr/bin/../share/nmap
Nmap done: 1 IP address (1 host up) scanned in 0.05 seconds
Raw packets sent: 0 (0B) | Rcvd: 0 (0B)
-----------------------------------------------------------------
# netstat -ltun
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:37588 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp6 0 0 :::111 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN <------
tcp6 0 0 ::1:25 :::* LISTEN
tcp6 0 0 :::42219 :::* LISTEN
udp 0 0 127.0.0.1:606 0.0.0.0:*
udp 0 0 0.0.0.0:60308 0.0.0.0:*
udp 0 0 0.0.0.0:998 0.0.0.0:*
udp 0 0 0.0.0.0:111 0.0.0.0:*
udp6 0 0 :::998 :::*
udp6 0 0 :::47091 :::*
udp6 0 0 :::111 :::*
-----------------------------------------------------------------
# ssh localhost -p2222
root@localhost's password:
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Oct 11 19:38:30 2013 from 192.168.1.33
-----------------------------------------------------------------
PROBLEMA ----- estava funcionando... parou do nada !!!
Sera que a " oi " fez algo ? ( operadora )
# ssh ewb13.no-ip.org -p2222
ssh: connect to host ewb13.no-ip.org port 2222: Connection refused
Ja mudei de modem tambem....
Alguma dica ??