NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
riplatt
Aug 03, 2012Aspirant
[Solved] ssh stopped working (connection refused)
I installed the photo II add-on and now I can’t ssh into my readyNAS Some details ReadyNAS pro Firmware 4.2.21 Other add-on all still running -Couchpotato -Headphones -Php5 -Python 2.7 -Sabn...
riplatt
Aug 14, 2012Aspirant
ok some more info
- once logout out of ssh i then get the "connection refeused"
- doing a frimware update from file gives me ssh again (any frimware 4.2.19 - 4.2.21)
- logging out again breaks ssh (have to firmware reinstall)
- with a ssh session open first time i get connection refused on any other session
- googling and then looking at /var/log/auth.log with cat auth.log | grep ssh i get
- Googling and adding sshd to /var/run/ with mkdir sshd, chmod 0755 sshd
- I can open a 2nd session and reopen 1st session but i get
do i need to do anything about "WARNING: /etc/ssh/moduli does not exist, using fixed modulus"??
i'll leave it for now and see how my ssh access goes on frimware 4.2.21
- once logout out of ssh i then get the "connection refeused"
- doing a frimware update from file gives me ssh again (any frimware 4.2.19 - 4.2.21)
- logging out again breaks ssh (have to firmware reinstall)
- with a ssh session open first time i get connection refused on any other session
- googling and then looking at /var/log/auth.log with cat auth.log | grep ssh i get
Aug 15 05:30:46 RIP-NAS sshd[2982]: Accepted password for root from 192.168.1.5 port 25553 ssh2
Aug 15 05:30:46 RIP-NAS sshd[3649]: (pam_unix) session opened for user root by (uid=0)
Aug 15 05:40:34 RIP-NAS sshd[5806]: error: Could not load host key: /etc/ssh/ssh_host_dsa_key
Aug 15 05:40:34 RIP-NAS sshd[5806]: fatal: Missing privilege separation directory: /var/run/sshd
Aug 15 05:44:24 RIP-NAS sshd[6316]: error: Could not load host key: /etc/ssh/ssh_host_dsa_key
Aug 15 05:44:24 RIP-NAS sshd[6316]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
- Googling and adding sshd to /var/run/ with mkdir sshd, chmod 0755 sshd
- I can open a 2nd session and reopen 1st session but i get
Aug 15 05:56:17 RIP-NAS sshd[2982]: syslogin_perform_logout: logout() returned an errorin the auth.log
Aug 15 05:56:24 RIP-NAS sshd[7877]: error: Could not load host key: /etc/ssh/ssh_host_dsa_key
Aug 15 05:56:24 RIP-NAS sshd[7877]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Aug 15 05:56:32 RIP-NAS sshd[7877]: Accepted password for root from 192.168.1.5 port 25809 ssh2
Aug 15 05:56:32 RIP-NAS sshd[7887]: (pam_unix) session opened for user root by (uid=0)
do i need to do anything about "WARNING: /etc/ssh/moduli does not exist, using fixed modulus"??
i'll leave it for now and see how my ssh access goes on frimware 4.2.21
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!