Fossil SCM
The default "ssh" comand is now always "ssh". Omit the legacy "plink" alternative on Windows as Windows machines now generally all support ssh.
Commit
38567237d7ffd5585f02c0e8ce045849a7026bd4dbde2944d0c14910e2eea472
Parent
990019346ea1588…
1 file changed
+1
-1
+1
-1
| --- src/http_transport.c | ||
| +++ src/http_transport.c | ||
| @@ -92,11 +92,11 @@ | ||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /* |
| 95 | 95 | ** Default SSH command |
| 96 | 96 | */ |
| 97 | -#ifdef _WIN32 | |
| 97 | +#if 0 /* was: defined(_WIN32). Windows generally has ssh now. */ | |
| 98 | 98 | static const char zDefaultSshCmd[] = "plink -ssh -T"; |
| 99 | 99 | #else |
| 100 | 100 | static const char zDefaultSshCmd[] = "ssh -e none -T"; |
| 101 | 101 | #endif |
| 102 | 102 | |
| 103 | 103 |
| --- src/http_transport.c | |
| +++ src/http_transport.c | |
| @@ -92,11 +92,11 @@ | |
| 92 | } |
| 93 | |
| 94 | /* |
| 95 | ** Default SSH command |
| 96 | */ |
| 97 | #ifdef _WIN32 |
| 98 | static const char zDefaultSshCmd[] = "plink -ssh -T"; |
| 99 | #else |
| 100 | static const char zDefaultSshCmd[] = "ssh -e none -T"; |
| 101 | #endif |
| 102 | |
| 103 |
| --- src/http_transport.c | |
| +++ src/http_transport.c | |
| @@ -92,11 +92,11 @@ | |
| 92 | } |
| 93 | |
| 94 | /* |
| 95 | ** Default SSH command |
| 96 | */ |
| 97 | #if 0 /* was: defined(_WIN32). Windows generally has ssh now. */ |
| 98 | static const char zDefaultSshCmd[] = "plink -ssh -T"; |
| 99 | #else |
| 100 | static const char zDefaultSshCmd[] = "ssh -e none -T"; |
| 101 | #endif |
| 102 | |
| 103 |