simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Apr 19 14:45:46 BST 2020


TL;DR:
  b951d058 PSCP: change handling of default protocol/port.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2020-04-19 14:45:46

commit b951d05819a73131353a88a7014e5ceb2b196d67
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=b951d05819a73131353a88a7014e5ceb2b196d67;hp=21492da89e3f9d387c8992d85df6d9807fe12027
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Apr 19 14:40:30 2020 +0100

    PSCP: change handling of default protocol/port.
    
    A user points out that in the current state of PSCP, if you have some
    protocol other than SSH configured in Default Settings, then
    specifying a non-saved-session hostname on the PSCP command line will
    cause it to try to connect with protocol SSH but the port number from
    Default Settings.
    
    A better approach is the one used in PSFTP: we use the port number
    from the saved session _if_ the protocol is also one that's known to
    PSCP (i.e. SSH or bare ssh-connection), and otherwise, we reset both
    to sensible values.

 pscp.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list