Tag Archives: *nix

Permanently add a private key and other parameters from ~/.ssh/config file

If you want to permanently add a ssh key so you don’t need to manually add it every time you reboot, shutdown… the system, you can do it by creating a ~/.ssh/config file with the following content:

This file, can also contain other configuration parameters, such as for example the next ones, which allows to improve X11 forwarding:

Done.