I have an ubuntu Server in Digitalocean. Normally, I can connect this machine with SSH but while I'm connected to my school network, when I wrote
ssh root@IP , it freezes and never even ask my password. I tried it from another computers which connected to some another network, it works.
Moreover, I can connect other servers with same configuration.
How I can detect ,if it causes because of my Internet connection and how I can solve this problem ?
Edit: I tried to connect server with
ssh root@IP -vvv and it returned me this
OpenSSH_6.9p1, LibreSSL 2.1.8
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to IP [IP] port 22.
debug1: connect to address IP port 22: Operation timed out
ssh: connect to host IP port 22: Operation timed out