#Is it possible to configure a custom port for ssh to the ONTAP cluster other than using port 22

1 messages · Page 1 of 1 (latest)

signal plaza
#

Is it possible to configure a custom port for ssh to the ONTAP cluster other than using port 22

violet obsidian
#

yeah. no idea why you would want to do that anyway (please don't say "for security").
You could use nginx or haproxy or similar to proxy ssh requests through another host on another port, but that seems to be overkill to me

north yacht
#

Modify the "service-policy" to only allow management-SSH incoming from certain locations.

violet obsidian
#

I did that with nginx in the past, I think the syntax was like this

stream {
  server {
    listen 2222;
    proxy_pass target_server:22;
  }
}

then ssh to your nginx server on port 2222

north yacht
#

and be sure to set the service-policy to only allow management-ssh from that single host.