× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: SSH on new RN 102 with OS 6.0.5

tenforty
Aspirant

SSH on new RN 102 with OS 6.0.5

Brand new shiny RN 102. Upgraded firmware to 6.0.5. Public, static ip address (ie not private space 192.168.X.X) . Both laptop and Netgear on the same local subnet. Https to Frontview from my laptop running FC 17 seems to work as expected. I enabled ssh in Frontview. Ssh on my laptop to localhost works. Ssh from laptop to a non-privileged user on Netgear requests a password. I enter it. The connection is immediately closed.

/etc/hosts.allow is ALL:XXX.XXX.XXX.XXX:allow
iptables is -A INPUT -s XXX.XXX.XXX.XXX/32 -m tcp -p tcp -j ACCEPT

Thoughts please. And thanks in advance.

- Jeremy
Message 1 of 9
chirpa
Luminary

Re: SSH on new RN 102 with OS 6.0.5

You can only SSH in as user root. User admin or other users will not work, they don't have a shell set.

Once logged in as root, if you want to grant login to other users; viewtopic.php?p=336971#p336971
Message 2 of 9
super_poussin
Virtuoso

SSH on new RN 102 with OS 6.0.5

Only root account is allowed with admin password
Message 3 of 9
tenforty
Aspirant

Re: SSH on new RN 102 with OS 6.0.5

Thank you both. The enable root access addons that are available (sparc, x86, arm)
won't upload. I get a popup that says only debian is permitted. Where is the appropriate .bin located?

- Jeremy
Message 4 of 9
chirpa
Luminary

Re: SSH on new RN 102 with OS 6.0.5

Its a toggle option in the GUI under System>Settings>Services in R6.

Message 5 of 9
tenforty
Aspirant

Re: SSH on new RN 102 with OS 6.0.5

Yes, that is turned on. Without that I wouldn't have expected to get a password challenge. It seems to me that there's a permission error. But I can't get to a command line to poke into it. Frustrating.

- Jeremy
Message 6 of 9
StephenB
Guru

Re: SSH on new RN 102 with OS 6.0.5

So SSH is turned on. When you connect with SSH to the NAS you are entering "root" as the user name, and then the admin password. Is that correct?

What SSH tool are you using? Putty?
Message 7 of 9
tenforty
Aspirant

Re: SSH on new RN 102 with OS 6.0.5

Thank you for the help. The problem turned out to be sort of dim. I thought I had read that admin and root were treated as the same. ssh admin@XXX didn't work. ssh root@XXX works fine.
Also changing /bin/false to /bin/bash in /etc/passwd allows non-privileged ssh. And then su - if root is wanted. Maybe just me, but it seems better than accessing root directly.

Thanks again.

- Jeremy
Message 8 of 9
rybackisback
Aspirant

Re: SSH on new RN 516 with OS 6.1.9

am trying to setup an SQL database on my readynas RN516 to service multiple XBMC machines. I have installed mySQL server and phpmyadmin. I have created a user xbmc with full privileges and port forwarded port 3306 in my router.

But xbmc is unable to create a database - I get the error "Can't connect to MySQL server on '192.168.1.22' (10061)". I tried to telnet into the server on port 3306 and it is not open.

I tried to ssh into the server to change the "bind address" but once I log into root via putty and type in the command /etc/mysql/my.cnf and press "enter" and nothing happens.

Is someone please able to help.......thanks
Message 9 of 9
Top Contributors
Discussion stats
  • 8 replies
  • 4721 views
  • 0 kudos
  • 5 in conversation
Announcements