From 414d35a50872f53bca0ac7d62d9bf9f16da17716 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 9 Feb 2020 08:23:24 +0000 Subject: [PATCH] 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 6f0adb243a2bd30b1f8d608d6bc00b94c3f33f3d) --- pscp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pscp.c b/pscp.c index cadf7916..3ba0aaaf 100644 --- a/pscp.c +++ b/pscp.c @@ -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