When using pscp
to transfer a file, you may receive the error:
ssh_init: Network error: Cannot assign requested address
The solution is simple. Simply specify the -P 22
parameter to explicitly connect to the port, and you should be good to go.

When using pscp
to transfer a file, you may receive the error:
ssh_init: Network error: Cannot assign requested address
The solution is simple. Simply specify the -P 22
parameter to explicitly connect to the port, and you should be good to go.