in Software by (9.9k points)
0 like 0 dislike
17 views

Where I can find SSH config file in GNU/Linux Ubuntu OS for change settings?


linux ssh settings
ssh config file

1 Answer

0 like 0 dislike
by (9.9k points)
Global config file of ssh daemon are in directory "/etc/ssh/", and this file named "ssh_config". I.e. full path "/etc/ssh/ssh_config".

The ssh program on a host receives its configuration from either the command line or from local configuration file "~/.ssh/config" and global "/etc/ssh/ssh_config".

Command-line options take precedence over configuration files. The user-specific configuration file "~/.ssh/config" is used next. Finally, the global "/etc/ssh/ssh_config" file is used. The first obtained value for each configuration parameter will be used.

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.