eliaspatrickjr Hello, how can I change the port number? I don't want to use 22. I'm using PUTTY to login in the server.
VirtuBox 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 secure --sshport <port number> Exemple with the port 2022 : wo secure --sshport 2022
eliaspatrickjr 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. 😆
eliaspatrickjr 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
eliaspatrickjr Hello @VirtuBox, 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