1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

Change PSCP's default protocol to SSH.

Apparently it's been set on Telnet for the entire lifetime of PSCP. It
can't have caused any trouble, or we'd have noticed by now, but it
still seems silly to set it to something that PSCP clearly can't
handle!

(cherry picked from commit 6f0adb243a)
This commit is contained in:
Simon Tatham 2020-02-09 08:23:24 +00:00
parent fe732487ad
commit 414d35a508

2
pscp.c
View File

@ -2231,7 +2231,7 @@ int psftp_main(int argc, char *argv[])
int i;
bool sanitise_stderr = true;
default_protocol = PROT_TELNET;
default_protocol = PROT_SSH;
flags = 0
#ifdef FLAG_SYNCAGENT