Fail to change SSH port

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.1.39
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No

Describe your issue

I tried to change my ssh port as described here:
https://doc.yunohost.org/security

After that, I’m unable to login at the new port, connection refused. It seemed something like this:

so I previously open the port, but even in this way, it didn’t work

Share relevant logs or error messages

https://paste.yunohost.org/raw/eloxusuzuz

Hi @makhno
Did you try to change the port via webadmin (tools>yunohost settings>security>ssh)?
Does yunohost tools regen-conf ssh --dry-run --with-diff return something ?

Thanks for your reply @otm33

Yes, I also tried to change the port via webadmin, with no luck

No output from command

yunohost tools regen-conf ssh --dry-run --with-diff

SSH logs:

Ok. Are you able to authenticate from your local network using the new ssh port ?
I assume you have forwarded the new ssh port on your router, right ?

1 Like

I forgot to open the new door on the router, shame on me!!! jajajaj

Thank you @otm33

¡De nada @makhno!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.