Using a specific port to use Remote Linux (SSH) for Intel VTune

0

I've installed Intel VTune on my windows laptop yesterday and I want to connect to a Linux Docker on port 2222 instead of port 22 which seems to be the default port used. To do that, I have put ''-p 127.0.0.1:2222:22 ^'' in the ''docker run'' command.

The only way I have been able to do this is to add ''-p 127.0.0.1:22:22 ^'' in the ''docker run'' command below ''-p 127.0.0.1:2222:22 ^'' and to specify ''root@127.0.0.1:2222'' as the SSH destination in Intel VTune.

However, if I remove that argument from the ''docker run'' command, even though I usually connect via SSH to that Docker by using localhost address and 2222 port.

Thank you !

Adrien Dubédat

Posted 2019-09-24T15:30:21.927

Reputation: 1

No answers