PuTTY wish pscp-port-0

This is a mirror. Follow this link to find the primary PuTTY web site.

Home | FAQ | Feedback | Licence | Updates | Mirrors | Keys | Links | Team
Download: Stable · Snapshot | Docs | Changes | Wishlist

summary: On a clean machine, PSCP tries to connect to port 0
class: wish: This is a request for an enhancement.
difficulty: fun: Just needs tuits, and not many of them.
priority: medium: This should be fixed one day.
absent-in: 0.73
present-in: 0.74
fixed-in: b951d05819a73131353a88a7014e5ceb2b196d67

If PSCP 0.74 is run with the most obvious kind of command line, on a completely clean machine where PuTTY has never saved a set of Default Settings, it will get the wrong port number and try to connect to port 0 instead of port 22.

On Windows, this gives an error message "ssh_init: Network error: Cannot assign requested address". On Linux, the network stack is quite happy to try to connect to port 0, but you won't get through to the service you wanted.

One workaround is to add -P 22 on the command line to force the right port number. Another is to start PuTTY itself and make it save a set of Default Settings; after that, PSCP will pick up the port number from there.


If you want to comment on this web site, see the Feedback page.
Audit trail for this wish.
(last revision of this bug record was at 2020-07-12 22:33:36 +0100)