There are a few other ways that might be of interest to you to do this as well:
-Gravitational Teleconsole (https://www.teleconsole.com/)
Or you could just setup Gravitational Teleport and make it act as a gateway to your node.
And there is always socat with certificates: http://www.dest-unreach.org/socat/doc/socat-openssltunnel.html
Or you can get really really fancy and use the /dev/tcp filesystem found in bash:
This will open a file descriptor and point it at the virtual file of /dev/tcp//. This results in connecting the file descriptor to the remote tcp port and destination specified and creates a read and write file descriptor:
The file descriptor here is 4 and is read and write
Now to send an GET over in HTTP 1.0 format (you can send whatever you want):
echo -e “GET / HTTP/1.0\r\n\r\n” > &4
And you can read the results with:
Although your mileage may vary with this last one.