SSH problem: permissions change on reboot

Q'center app, Helpdesk app
Post Reply
lexvo
Know my way around
Posts: 248
Joined: Tue Jan 11, 2011 1:54 am
Location: Netherlands

SSH problem: permissions change on reboot

Post by lexvo »

Suddenly, every time I reboot my NAS, the permission of the ssh* files in /etc/ssh are changed to 644. The result is that I cannot login via SSH. When I manually change the permissions to 600, ssh works OK.

Accessing my NAS via SSH was always no problem. The only things I did yesterday were upgrading SMB from 1.0 to 2.0 (by smb2enable) and a reboot. I can't see a connection but I might be wrong.

How can I find out why these permissions are changed on reboot?

See also this thread:
viewtopic.php?t=131932
TS-453Be with FW 5.1.5.2645 build 20240116, 4GB RAM, 4x WD Red 4TB RAID 5
lexvo
Know my way around
Posts: 248
Joined: Tue Jan 11, 2011 1:54 am
Location: Netherlands

Re: SSH problem: permissions change on reboot

Post by lexvo »

I found it!

In addition to the files in /etc/ssh, I also changed the permission of the same files in /etc/config/ssh

Now I can ssh to my NAS after a reboot :)

For me it is unclear how the permissions of these files changed in the first place, I certainly didn't change them.
TS-453Be with FW 5.1.5.2645 build 20240116, 4GB RAM, 4x WD Red 4TB RAID 5
isis200
First post
Posts: 1
Joined: Tue Feb 16, 2016 4:35 pm

Re: SSH problem: permissions change on reboot

Post by isis200 »

You saved my day! :P
Post Reply

Return to “NAS Management”