So now as you have all in place and configured, you can ssh private.host and enjoy the stay on your secure server. To get this to work, you would adjust the ~/.ssh/config as follows: Host bastion.host This way bastion.host will know nothing about your keys or anything related to authentication, but will just make a tunnel (similar to SSH port forwarding) and keep it for you until you are done. In this scenario, when configured properly, ssh will first run the Prox圜ommand to establish the connection to bastion.host and then enable the tunnel via this connection to the private.host. The second method to achieve the same functionality in terms of bastion host and avoid messing around ssh-agent is to use SSH Prox圜ommand.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |