SSH para hospedar trava e expira

0

Quando eu tento ssh qualquer host eu não obtenho resposta, meu prompt trava. Depois de um tempo, há uma mensagem:

ssh: connect to host HOST_NAME port 22: Connection timed out
I noticed it when I tried to push sth to git repository.

Primeiro, pensei que havia um problema com o git, mas depois testei outros hosts e o motivo foi o mesmo.

Por exemplo:

ssh -v [email protected] > debug.txt 2 > &1

me dá:

OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g  1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to github.com [192.30.253.113] port 22.
debug1: connect to address 192.30.253.113 port 22: Connection timed out
debug1: Connecting to github.com [192.30.253.112] port 22.
debug1: connect to address 192.30.253.112 port 22: Connection timed out
ssh: connect to host github.com port 22: Connection timed out

Mas quando eu tento ping - funciona bem:

ping 192.30.253.113

editar

  • este nc não retorna nada:

    nc 192.30.253.113 22

por Hugh Matters 03.09.2017 / 13:19

0 respostas