LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   Remote: Your host is not permitted to use this key for login. (http://www.linuxquestions.org/questions/linux-security-4/remote-your-host-is-not-permitted-to-use-this-key-for-login-622573/)

m2azer 02-20-2008 02:46 PM

Remote: Your host is not permitted to use this key for login.
 
Hello all,

I am ruining a backup job which uses authorized_keys to ssh to each host and do a backup job. One server will not allow the backup server to ssh with the following message:
Remote: Your host is not permitted to use this key for login.
I appended the following to the key"no-agent-forwarding,from="server.domain.com"
if i take those out the ssh works fine and the backup server is able to login that server if i leave them in the key i get the above error.
all server are using the same key with the above option and they all allow ssh key login except this one server. All linux rhel

any suggestions will be appreciated

Thanks

BrianK 02-20-2008 03:31 PM

Quote:

Originally Posted by m2azer (Post 3064051)
Hello all,

I am ruining a backup job which uses authorized_keys to ssh to each host and do a backup job. One server will not allow the backup server to ssh with the following message:
Remote: Your host is not permitted to use this key for login.
I appended the following to the key"no-agent-forwarding,from="server.domain.com"
if i take those out the ssh works fine and the backup server is able to login that server if i leave them in the key i get the above error.
all server are using the same key with the above option and they all allow ssh key login except this one server. All linux rhel

any suggestions will be appreciated

Thanks

check the permissions of the keys and the directories that hold them. If anyone other than the user can view or modify the keys, they are invalid.


All times are GMT -5. The time now is 08:14 AM.