Skip to content

Instantly share code, notes, and snippets.

@Gurpartap
Last active October 28, 2017 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gurpartap/95e0c1084f79fdd06919b707c65c9cac to your computer and use it in GitHub Desktop.
Save Gurpartap/95e0c1084f79fdd06919b707c65c9cac to your computer and use it in GitHub Desktop.
Proof of port 22 blocked by BSNL
# With BSNL Broadband (8Mbps 2841 plan), outgoing connections on
# *port 22* (ssh) consistently time out. This happens on all servers,
# not necessarily github.com.
$ telnet github.com 22
Trying 192.30.255.112...
telnet: connect to address 192.30.255.112: Operation timed out
Trying 192.30.255.113...
telnet: connect to address 192.30.255.113: Operation timed out
telnet: Unable to connect to remote host
$ telnet github.com 22
Trying 192.30.255.112...
telnet: connect to address 192.30.255.112: Operation timed out
Trying 192.30.255.113...
telnet: connect to address 192.30.255.113: Operation timed out
telnet: Unable to connect to remote host
# Connecting to *port 80* (http/web) works as expected.
$ telnet github.com 80
Trying 192.30.255.113...
Connected to github.com.
Escape character is '^]'.
# With Airtel 4G Home plan, outgoing connections on port 22
# works as expected.
$ telnet github.com 22
Trying 192.30.255.112...
Connected to github.com.
Escape character is '^]'.
SSH-2.0-libssh_0.7.0
$ telnet github.com 22
Trying 192.30.255.112...
Connected to github.com.
Escape character is '^]'.
SSH-2.0-libssh_0.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment