ssh -i localkey -L local_port:localhost:remote_port user@ip I had to look this up again. I haven’t had to use this in a while, maybe five years? I also wanted multiple ports forwarded, and that works like ssh -i localkey -L local_port:localhost:remote_port -L local_port:localhost:remote_port user@ip And… jenkins host inside remote VPC: ssh -i catalyst -L 8080:localhost:18080 centos@bastion-host-ip…
Continue Readingopenssh
Recover id_rsa.pub from id_rsa When Needed…
I run into this about every tenth day. Just enough off the pace of memorization to look it up when a switch misfires… ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub Just in case. A lot of the work I’m doing today, and the last few days, is re-working id_rsa and other secret retrieval from vault, grabbing…
Continue Reading