NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

jeff36's avatar
jeff36
Aspirant
Jan 03, 2012

ssh as admin

Ultra6 with RAIDiator 4.2.19.
I've installed "enableSSH" and the port is open. Using putty from Windows7 gets me the login prompt, but using admin/password closes the ssh window immediately. If I use the wrong password, it prompts me for a retry. I have a couple of addons, but disabling them all did not help. I have never been able to ssh in (over a year). I have updated the firmware twice and reset a few times but the same thing always happens.
Like this (used wrong password once as an example):

login as: admin
admin@10.1.3.1's password:
Access denied
admin@10.1.3.1's password:

auth.log says:
Jan 3 14:27:48 NAS sshd[13121]: error: Could not load host key: /etc/ssh/ssh_host_dsa_key
Jan 3 14:27:48 NAS sshd[13121]: WARNING: /etc/ssh/moduli does not exist, using fixed modulus
Jan 3 14:27:54 NAS sshd[13121]: (pam_unix) authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.1.3.26 user=admin
Jan 3 14:27:55 NAS sshd[13121]: Failed password for admin from 10.1.3.26 port 51776 ssh2
Jan 3 14:27:59 NAS sshd[13121]: Accepted password for admin from 10.1.3.26 port 51776 ssh2

Any advice?

11 Replies

Replies have been turned off for this discussion
  • @MastaCheata thank you, your code worked perfectly. Exactly what I was looking for.


    usermod -s/bin/bash USERNAME


    Oh and by the way. EnableRootSsh is an addon that allows you to ssh into your readynas thats it. ToggleSsh is a fix so that you can turn ssh access off.
    If ssh service is enabled installing togglessh will disable the ssh service. If you install toggle ssh again it will turn it back on ;/

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More