![]() IdentityFile "/file system/path with/white space" # The parameter value can be quoted if it contains white space. # Or parameter key and value may be separated with white space and =. # Parameter can be specified like this, separated with white space. System wide configuration file /etc/ssh/ssh_configĬonfiguration options are listed one by one in the config files.User's configuration file ~/.ssh/config.OpenSSH uses configuration from the following sources in order: Most command line options are possible to put in the config files. OpenSSH config files are used for configuration that should be applied every time the ssh client is run. Most commonly this is done per-user: ssh-copy-id -i ~/.ssh/.pub can be also done manually: cat ~/.ssh/.pub | ssh 'cat > ~/.ssh/authorized_keys'Īfter doing that you should be able to log in without need to provide user's password when passing the identity file to the ssh call. In order to ssh into a server your identity's public key has to be added to the list of trusted keys. Adding your public key to the list of server user's authorized keys
0 Comments
Leave a Reply. |