It is so easy for you to connect to remote server via console and use ssh.

This command use custom port:

ssh -p 6298 [email protected]