LMSouq
server-admin Open

ssh use known_hosts other than $HOME/.ssh/known_hosts

US
user1085687
1 month ago
3 views
Problem Description
Is it possible to run SSH using another `known_hosts` file than the standard `$HOME/.ssh/known_hosts` for the user? Note, that SSH uses `$HOME` original for the user. If you try to change it, e.g. <!-- language: shell --> export HOME=some_other_location it does not affect the location SSH uses to look for `known_hosts`.

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base