NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
testerek
Oct 23, 2011Aspirant
Lost access to ssh :(
Ehh, after magic command "chmod 777 -R *" instead of "chmod 777 -R /Movies" I lost access via ssh. In auth.log I have somethign like this Oct 23 15:45:33 freenas sshd[4255]: error: @@@@@@@@@@@@@@@...
testerek
Oct 23, 2011Aspirant
No luck, still the same problem :(
Oct 23 22:21:06 freenas sshd[2809]: error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Oct 23 22:21:06 freenas sshd[2809]: error: @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
Oct 23 22:21:06 freenas sshd[2809]: error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Oct 23 22:21:06 freenas sshd[2809]: error: Permissions 0777 for '/etc/ssh/ssh_host_rsa_key' are too open.
Oct 23 22:21:06 freenas sshd[2809]: error: It is recommended that your private key files are NOT accessible by others.
Oct 23 22:21:06 freenas sshd[2809]: error: This private key will be ignored.
Oct 23 22:21:06 freenas sshd[2809]: error: bad permissions: ignore key: /etc/ssh/ssh_host_rsa_key
Oct 23 22:21:06 freenas sshd[2809]: error: Could not load host key: /etc/ssh/ssh_host_rsa_key
Oct 23 22:21:06 freenas sshd[2809]: error: Could not load host key: /etc/ssh/ssh_host_dsa_key
theluke79
Nov 24, 2015Aspirant
I have a RN102, ReadynasOS 6.4.0
For some unknown reason my SSH was lost.
I followed the suggested link, the "backup" of the original sshd_config file seems to have some effect, but it is not enough.
TO actually fix it I have opended the zip file, edited the ssd_config file within the zip and REMOVED all kind of authetications (publickey, password, pam).
By doing so I was able to login and fix everything.
My SSH was inforcing Google 2FA, so this might have created issues with PAM
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!