Support Questions

Find answers, ask questions, and share your expertise

Can I change the SSH port Ambari uses?

avatar
Expert Contributor

Hi,

Each of my nodes in a cluster I'm setting up use an alternative port to the standard port 22 for SSH.

When performing the automated install with Ambari is there an option to change the port ambari uses when running SSH connections?

1 ACCEPTED SOLUTION

avatar
@MPH

Yes, you can change the SSH port as below:

11476-screen-shot-2017-01-17-at-95628-am.png

View solution in original post

5 REPLIES 5

avatar
@MPH

Yes, you can change the SSH port as below:

11476-screen-shot-2017-01-17-at-95628-am.png

avatar
@MPH

FYI, the screenshot is of Ambari version 2.4.0.

avatar
Master Mentor

@MPH

The port 22 is the standard SSH port despite the fact you can change it isn't advisable because instead of customizing your ssh use a firewall!

avatar
New Contributor

@Sindhu

If Ambari version 2.2.2.0 can help change ssh port ?

avatar
New Contributor

I would like to know the same - if there is way to change the default port via the ambari bootstrap instead of the UI wizard.