If you are a BSNL broadband user and you work as a web developer or system admin, you may want to connect to your client sites and servers using port 22. Since, August 1, 2017, BSNL has blocked / banned port 22 on its network. It’s not clear if it is temporary or permanent. Recently, thousands of BSNL broadband modems were affected by malware. Those affected modems may be spreading the malware on their own using port 22. If this is so, it is recommended to block port 22 temporarily. That’s why BSNL has only banned port 22 only on their broadband network. BSNL mobile network isn’t affected. None of the other ISPs blocked port 22, either. What’s worse is BSNL broadband hasn’t informed its users of this policy change.
Anyway, let’s talk about the alternatives or solutions to continue to use BSNL broadband irrespective of its ban over port 22.
It’s easy to solve it by running SSH over HTTPS that is allowed by Github.
Web developers usually do not have access to the server. One solution is to ask your server administrator to open an additional port. There are plenty of unused ports available. My favorites are 420 and 24. :)
There are plenty of workarounds available for system admins. As mentioned above, opening additional port is easiest to achieve, considering it helps the web developers your client may have.
Thanks to Lawrence who provided this information via comments.
BSNL unblocks port 22 if the BB user opt for static IP that costs Rs.2000 (or Rs.1800 on certain high-end plans). Static IP is available only on plans that are above 1k. As of this writing, the least feasible plan to get static IP is BBG Combo ULD 1199.
If you don’t mind spending additional money, buy a VPN service. It is the easiest way to get around the present situation with BSNL. Btw, are you aware that Apple pulled down VPN apps from its China Apps Store. And then, Russia banned VPN. So, if port 22 can be banned by an ISP now, anything can happen in India in the future!
I haven’t covered all use-cases. For example, most (managed) hosts do not open additional port for SSH / SFTP. There are workaround available for such users too. However, it isn’t easy, especially who have never used SSH. In general, if you know how to use SSH, then buy a small server (VPS servers are available as low as USD2.5 per month) and then use that server as an intermediate server to connect to all others sites / servers. If nothing works, use a free VPN. Good luck!