SSH Is the Most Underrated Platform in Tech
A contractor once spent forty-five minutes trying to connect to a Postgres instance on an internal network. He installed a VPN client, struggled with split tunneling, restarted his DNS resolver, and opened a ticket with IT. The reporter, seated next to him, typed ssh -L 5432:db-host:5432 bastion and had a query running before the contractor connected via VPN.
This illustrates the power of SSH, often undervalued by developers who only use it to log into servers. SSH is a platform offering much more than that. It supports tunneling, file transfer, key management, port forwarding, jump hosts, proxy negotiation, agent forwarding, multiplexed connections, and certificate-based authentication. These features have been stable for twenty years and work across virtually every server.
The reporter pointed out that developers use GitHub, GitLab, or Bitbucket over SSH for code transport, unaware that they're already using SSH as a protocol. The same config file that simplifies server connections can also streamline git remotes. A simple SSH config entry can replace complex custom tooling. SSH config files are plain text, readable by humans, and version controllable, outlasting trendy connection managers.
Local, remote, and dynamic forwarding are additional features of SSH. These allow routing traffic through a bastion host, creating SOCKS proxies, and enabling browsing from the server's network perspective. SSH connections can also be chained, reducing the number of hops and improving efficiency. Multiplexing further improves performance by reusing connections for multiple sessions.
However, agent forwarding poses security risks, as compromising the remote host grants attackers access to any server your keys can reach. ProxyJump offers a safer alternative, forwarding your keys locally and maintaining security.
Rewritten by urgent.news; may contain errors — check the original.
Source: milkcrunch.com