Hello, how can I change the port number? I don't want to use 22.
I'm using PUTTY to login in the server.
Hello @eliaspatrickjr,
you want to change SSH port ?
At first update WordOps to the latest release (v3.9.9.1) with wo update. Then you will be able to change SSH port with the command :
wo update
wo secure --sshport <port number>
Exemple with the port 2022 :
wo secure --sshport 2022
Hello @VirtuBox,
I did that, but it didn't work.
Now when I type "grep "Port" /etc/ssh/sshd_config", it shows me: #Port 2022 #GatewayPort 2022
But I can't login with Port 2022, I'm still logging with Port 22.
😆
Funny. When I type "sudo netstat -tulpn", it showed me:
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 17199/sshd tcp6 0 0 :::22 :::* LISTEN 17199/sshd
Thanks for reporting this issue eliaspatrickjr. I will work on a fix for the next release.
I've updated the WordOps to 3.9.9.2. Then I ran "wo secure --sshport XXXX", but the port didn't change.
Is there anything else that I should do?
Regards
Hello eliaspatrickjr, another fix will be published in the next release.
Thanks @VirtuBox!
Now it worked. 😀
Hosted by VirtuBox