# change SSH Port

**URL:** <https://forum.ansible.com/t/change-ssh-port/22479>\
**Category:** Ansible Project\
**Created:** [September 4, 2016, 12:22pm UTC](https://forum.ansible.com/t/change-ssh-port/22479 "2016-09-04T12:22:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janis\_Heller](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@Janis\_Heller](https://forum.ansible.com/u/Janis_Heller)\
**Post date:** [September 4, 2016, 12:22pm UTC](https://forum.ansible.com/t/change-ssh-port/22479/1 "2016-09-04T12:22:22Z")

</div>

I would like to use ansible to change some things, when I setup a new server.  
For this I would need to change for example SSH port.

Using ansible to change the SSH port from default isn’t hard:
