Changing SSH-Port from CLI raises an error

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.11 (Stable)
How are you able to access your server: The webadmin
SSH

Describe your issue

Hi all,

I want to change the SSH Port from CLI via the command yunohost settings set security.ssh.port -v <new_ssh_port_number> but I get the following error:
Der Filterschlüssel ‘(‘security’, ‘ssh’, ‘port’)’ ist inkorrekt.
Is there any changes with the new 12.x Version from YunoHost?

Thanks for your help

Share relevant logs or error messages

No Logs

yunohost settings get security.ssh
[...]
security.ssh.ssh_port: 
  ask: SSH port
  value: 22. T
[...]

Never used this before so I can’t say if the name changed changed, but this works:

yunohost settings set security.ssh.ssh_port -v <port>

1 Like

Thank you for your tip :slightly_smiling_face: I ll try this the next time when I setup my server :slightly_smiling_face: