Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

As root user, edit

/etc/ssh/sshd_config

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
share|improve this answer
    
Thanks for this. It is now working. –  Dexter Cato Oct 15 '12 at 4:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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