There are many times in a datacenter, where we can log into the machines remotely, but we are unable to get external access directly from the machine itself.
I have wanted to use wget to download files, but fortunately, I found a new way to do it
There are many times in a datacenter, where we can log into the machines remotely, but we are unable to get external access directly from the machine itself.
I have wanted to use wget to download files, but fortunately, I found a new way to do it
We have a host that we want to get to, through a gateway machine; i.e. we have a hop to get to the machine that we need to work on
ssh gw01
Then from that machine, we log onto another machine
ssh mgmt01
We would like to just run one command from the command line, to get directly onto mgmt01
Continue reading “Different methods of tunnelling through a gateway”
You can generate a fingerprint for a public key using ssh-keygen like so
ssh-keygen -lf /path/to/key.pub
Concrete example (if you use an RSA public key):
$ ssh-keygen -lf ~/.ssh/id_rsa.pub 2048 00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff /Users/username/.ssh/id_rsa