Improve remote message

Add more information for the users how to use remote command. The information is printed when the command is executed. This will make it easier for them to understand where to use the port number, which is passed as parameter to this command.
these variables are not used in this function, but in a lambda bellow. Can we move them into it?