ssh conf reset

Topics related to system security only
Post Reply
User avatar
makhai
Posts: 23
Joined: 18 Jul 2024, 23:08
France

ssh conf reset

Post by makhai »

Hello there,

I recently got a F4-424 pro and it's really good.
I want a user with limited rights for advanced purposes (SSH access from another server)
But when I add this new user with AllowUsers in

Code: Select all

/etc/ssh/sshd_config
and reboot, the conf file is reset and my new user cannot log with ssh.
Worse, when I try

Code: Select all

service ssh_service reload
for apply my conf without reboot, the conf file is reset anyway AND the ssh is disabled and I had to enable it with TOS web GUI.

Is there any way for advanced users to override that kind of security ?

Thanks :)
User avatar
TMzethar
TM Support
Posts: 2815
Joined: 27 Oct 2020, 16:43

Re: ssh conf reset

Post by TMzethar »

Hi, which version of TOS are you using?
Currently, normal users in the “alluser” user group cannot log in to the terminal using SSH/Telnet.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
Gremlin
Gold Member
Posts: 1625
Joined: 02 Dec 2022, 22:31
Great Britain

Re: ssh conf reset

Post by Gremlin »

This thread may be relevant:

viewtopic.php?p=37449#p37449
F5-221 TOS7.0.0777 - 4x4TB (Ironwolf) Traid
F2-424 TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (HGST) Traid
F2-221 TOS7.0.0777 - 1x3TB Ext4, 1x4TB Btrfs
F2-425+ TOS7.0.0777 - 2x500GB nvme (P3) Traid, 2x6TB HDD (EXOS) Traid
User avatar
makhai
Posts: 23
Joined: 18 Jul 2024, 23:08
France

Re: ssh conf reset

Post by makhai »

Hi, thanks for your response

I'm on TOS 5.1.145 (last update so far)

Yes, TOS noticed me about only default admin can log with SSH.
I can't create a new user without the "alluser" group.
Image

But I need a ssh user who doesn't have admin access.
User avatar
makhai
Posts: 23
Joined: 18 Jul 2024, 23:08
France

Re: ssh conf reset

Post by makhai »

Gremlin wrote: 20 Aug 2024, 17:26
Thanks, but is that require TOS 6 ?
I tried to update to the beta but it's failed
Image
User avatar
TMzethar
TM Support
Posts: 2815
Joined: 27 Oct 2020, 16:43

Re: ssh conf reset

Post by TMzethar »

makhai wrote: 21 Aug 2024, 04:31
Please compare the md5 value of the package you have downloaded with the one on the official website, if it is not consistent, please download it again.
If the downloaded package still can't be successfully used for updating, please contact the customer service window of the official website or the technical support e-mail, we can arrange engineers to help you troubleshoot remotely.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Post Reply

Return to “Security”