In all my installations, I change the default ssh port from 22 to something else - say 2345. I have never had any problems, of course, till now. But now, I need to start using vncviewer to connect to a computer in my research lab using vncviewer using this
Code:
vncviewer -via username@###.##.##.### 127.0.0.1:18 -geometry 1160x900
For connecting, this authenticates via ssh and does not work with my changed port number and expects 22.
I only port related option I know of is -- listen. But, as per my understanding, it has nothing to do with ssh port. Could anyone tell me how I can pass my ssh port number for establishing the connection? Thanks.