
October 19th, 2010, 03:51 PM
|
|
|
|
Move ssh known_hosts file
I was wondering if it's possible to move the known_hosts file from ~/.ssh/known_hosts to ~/somewhere/.ssh/known_hosts .
I have a server running Plesk and the user home directories do not have write permissions (they do have write permissions within the subfolders, however).
I was able to move the authorized_keys file by editing sshd_config AuthorizedKeysFile , but when I try to log in without password, I'm still prompted every time if I want to add the host to list of known hosts, and it fails to save every time since it cannot write to known_hosts. Thus I am still unable to automate some processes. I'd like known_hosts to be located in the same location as my authorized_keys, which does have correct permissions for users.
|