I am trying to setup the destination server for tooltwist on a cloud but would like to tighten security. One of the things I thought of doing is to change the ssh port other than the default 22. How can I work that out? I am using an AMI Linux.


As root user, edit


You will see a commented out line

#Port 22

Uncomment it and change the line to

Port 2023

Save the file. Now, restart the sshd daemon.

service sshd restart

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.