Posts: 13
Registered: ‎05-25-2016

Cloudera VM how to configure SSH port?

I work with Cloudera VM and I want to assign the port 22 to the port 2222. I go to Cloudera VM -> Settings -> Network -> Advanced -> PortForwarding


I add a line


Protocol TCP

Host Port  2222

Guest Port 22


I execute the command


ssh -p 2222 cloudera@localhost

ssh: connect to host localhost port 2222: Connection refused


How do I configure the port 2222?