Hello, how can I change the port number? I don't want to use 22.
I'm using PUTTY to login in the server.
you want to change SSH port ?
At first update WordOps to the latest release (v184.108.40.206) with wo update.
Then you will be able to change SSH port with the command :
wo secure --sshport <port number>
Exemple with the port 2022 :
wo secure --sshport 2022
I did that, but it didn't work.
Now when I type "grep "Port" /etc/ssh/sshd_config", it shows me:
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 220.127.116.11. Then I ran "wo secure --sshport XXXX", but the port didn't change.
Is there anything else that I should do?
another fix will be published in the next release.
Now it worked. 😀
Hosted by VirtuBox