How Can I specify hawq ssh port?

89 Views Asked by At

How can I specify the ssh port ,my ssh port is 333.When I ssh remote host,the hawq ssh port is 22.

Thanks

2

There are 2 best solutions below

0
On
  • Edit /etc/ssh/sshd_config file. Delete # from line #port 22 and replace 22 by 333.
  • Update your firewall
  • Restart the sshd service.
0
On

You cannot change ssh port in hawq. Instead, ssh is an operating system utility. So, you can change it from operating system perspective.