Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Ansible Tower default SSH port change issue

    Posted on

    Hi there.

    I have Ansible Tower default SSH port change issue.

    I would like to change the deploy port from 22 to 2222.
    Because I had to use port 2222 for security reasons.

    I changed attribute named remote_port at /etc/ansible/ansible.cfg.
    (Ex. remote_port=2222)

    I ran the job in "ansible tower", but I got a messages "ssh: connect to host port 22: Connection refused"

    The same results will appear if you set up and started the server before starting it.

    Please check this issue.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat