Hi all,
I made a really stupid thing, I removed the admin user from the list of remote allowed user file /mnt/HDA_ROOT/.config/ssh/sshd_config
Now I'm not able to access the qnap with putty. How can I resolve it?
I just can access the qnap from the browser, port 8080, but there is no admin shell...
Really stupid thing...no more remote access...
-
- Starting out
- Posts: 30
- Joined: Wed Jun 04, 2014 7:47 pm
- doktornotor
- Ask me anything
- Posts: 7472
- Joined: Tue Apr 24, 2012 5:44 am
Re: Really stupid thing...no more remote access...
You can trivially fix the file via shellshock exploit if you have not updated to 4.1.1 Build 0927 and/or did not install the Qfix.
If you don't feel like testing your hacking skills, and you have GUI access, just enable Telnet temporarily.
If you don't feel like testing your hacking skills, and you have GUI access, just enable Telnet temporarily.
I'm gone from this forum till QNAP stop wasting volunteers' time. Get help from QNAP helpdesk instead.
Warning: offensive signature and materials damaging QNAP reputation follow:
QNAP's FW security issues
QNAP's hardware compatibility list madness
QNAP's new logo competition
Dear QNAP, kindly fire your clueless incompetent forum "admin" And while at it, don't forget the webmaster!
Warning: offensive signature and materials damaging QNAP reputation follow:
QNAP's FW security issues
QNAP's hardware compatibility list madness
QNAP's new logo competition
Dear QNAP, kindly fire your clueless incompetent forum "admin" And while at it, don't forget the webmaster!
-
- Starting out
- Posts: 30
- Joined: Wed Jun 04, 2014 7:47 pm
Re: Really stupid thing...no more remote access...
unfortunately i upgraded the firmware yesterday...
plus, the qnap is under a nat network. I should do a port forwarding for the telnet port(23, correct?) but I'm not able to do the ssh tunnell...so there is no way to enable the port becouse I should be in the nat.
(bad english and bad hacking skill sorry...i'm just a newbie)
I'll be there(the nas is at my parents house) sunday...what tellnet commad should I use?
thank you for your reply
EDIT: I have another user, who is in the remote allowed list: amule (cough cough...)
but the ssh tunnel is not working anynmore after the firmware update:
plus, the qnap is under a nat network. I should do a port forwarding for the telnet port(23, correct?) but I'm not able to do the ssh tunnell...so there is no way to enable the port becouse I should be in the nat.
(bad english and bad hacking skill sorry...i'm just a newbie)
I'll be there(the nas is at my parents house) sunday...what tellnet commad should I use?
thank you for your reply
EDIT: I have another user, who is in the remote allowed list: amule (cough cough...)
but the ssh tunnel is not working anynmore after the firmware update:
Last edited by SGResu on Thu Oct 02, 2014 6:48 pm, edited 1 time in total.
- doktornotor
- Ask me anything
- Posts: 7472
- Joined: Tue Apr 24, 2012 5:44 am
Re: Really stupid thing...no more remote access...
You use telnet exactly like SSH. Simply enable telnet in the GUI. No special command.
Also, SSH on QNAP is admin only, spare yourself the pointless tweaking efforts. Will never work for any other user. (Won't address your SSH tunnel or whatever other issues unrelated to QNAP here, sorry.)
Also, SSH on QNAP is admin only, spare yourself the pointless tweaking efforts. Will never work for any other user. (Won't address your SSH tunnel or whatever other issues unrelated to QNAP here, sorry.)
I'm gone from this forum till QNAP stop wasting volunteers' time. Get help from QNAP helpdesk instead.
Warning: offensive signature and materials damaging QNAP reputation follow:
QNAP's FW security issues
QNAP's hardware compatibility list madness
QNAP's new logo competition
Dear QNAP, kindly fire your clueless incompetent forum "admin" And while at it, don't forget the webmaster!
Warning: offensive signature and materials damaging QNAP reputation follow:
QNAP's FW security issues
QNAP's hardware compatibility list madness
QNAP's new logo competition
Dear QNAP, kindly fire your clueless incompetent forum "admin" And while at it, don't forget the webmaster!
-
- Starting out
- Posts: 30
- Joined: Wed Jun 04, 2014 7:47 pm
Re: Really stupid thing...no more remote access...
it's already allowed but i can't reach it becouse the port is not forwrded on the router.
i definetely do it at my parents house :\
i removed the link
i definetely do it at my parents house :\
i removed the link
- doktornotor
- Ask me anything
- Posts: 7472
- Joined: Tue Apr 24, 2012 5:44 am
Re: Really stupid thing...no more remote access...
If it's urgent, you could use Teamviewer or something similar to get LAN access, just get your parents to run it.
I'm gone from this forum till QNAP stop wasting volunteers' time. Get help from QNAP helpdesk instead.
Warning: offensive signature and materials damaging QNAP reputation follow:
QNAP's FW security issues
QNAP's hardware compatibility list madness
QNAP's new logo competition
Dear QNAP, kindly fire your clueless incompetent forum "admin" And while at it, don't forget the webmaster!
Warning: offensive signature and materials damaging QNAP reputation follow:
QNAP's FW security issues
QNAP's hardware compatibility list madness
QNAP's new logo competition
Dear QNAP, kindly fire your clueless incompetent forum "admin" And while at it, don't forget the webmaster!
-
- Starting out
- Posts: 30
- Joined: Wed Jun 04, 2014 7:47 pm
Re: Really stupid thing...no more remote access...
thank you so much