Port 22 No Longer

Advertisement

timlab
Joined:
Posts:
2

Port 22 No Longer

I have changed my port number to ???. But in order for me to ssh into it I have to put -p. So to log in on PowerShell I type in ssh name@ipaddress -p port number. So how do I get WinSCP to do it automatically?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,276
Location:
Prague, Czechia

Re: Port 22 No Longer

Are you asking where to specify custom port in WinSCP? On Login dialog:
https://winscp.net/eng/docs/ui_login

Or do you somehow run ssh from WinSCP (How? An SSH terminal instead of PuTTY? Custom command?) and you need to pass your custom port number to it? If you are using ssh as SSH terminal or in custom command, then use !# pattern:
https://winscp.net/eng/docs/ui_pref_integration_app#client_path
https://winscp.net/eng/docs/integration_putty#win32-openssh
https://winscp.net/eng/docs/custom_command#patterns

Reply with quote

Advertisement

You can post new topics in this forum