Fossil SCM
Need this "-e none" options to ssh.. if not, ssh can process the escape caracter to process command from data that's goes to fossil proces..
Commit
297cb3e525e0a4a0f59f80b0eb7b8d4a1d53dfa9
Parent
531a58fd2178c56…
1 file changed
+4
+4
| --- src/http_transport.c | ||
| +++ src/http_transport.c | ||
| @@ -92,11 +92,15 @@ | ||
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | /* |
| 95 | 95 | ** Default SSH command |
| 96 | 96 | */ |
| 97 | +#ifdef __MINGW32__ | |
| 97 | 98 | static char zDefaultSshCmd[] = "ssh"; |
| 99 | +#else | |
| 100 | +static char zDefaultSshCmd[] = "ssh -e none"; | |
| 101 | +#endif | |
| 98 | 102 | |
| 99 | 103 | /* |
| 100 | 104 | ** Global initialization of the transport layer |
| 101 | 105 | */ |
| 102 | 106 | void transport_global_startup(void){ |
| 103 | 107 |
| --- src/http_transport.c | |
| +++ src/http_transport.c | |
| @@ -92,11 +92,15 @@ | |
| 92 | } |
| 93 | |
| 94 | /* |
| 95 | ** Default SSH command |
| 96 | */ |
| 97 | static char zDefaultSshCmd[] = "ssh"; |
| 98 | |
| 99 | /* |
| 100 | ** Global initialization of the transport layer |
| 101 | */ |
| 102 | void transport_global_startup(void){ |
| 103 |
| --- src/http_transport.c | |
| +++ src/http_transport.c | |
| @@ -92,11 +92,15 @@ | |
| 92 | } |
| 93 | |
| 94 | /* |
| 95 | ** Default SSH command |
| 96 | */ |
| 97 | #ifdef __MINGW32__ |
| 98 | static char zDefaultSshCmd[] = "ssh"; |
| 99 | #else |
| 100 | static char zDefaultSshCmd[] = "ssh -e none"; |
| 101 | #endif |
| 102 | |
| 103 | /* |
| 104 | ** Global initialization of the transport layer |
| 105 | */ |
| 106 | void transport_global_startup(void){ |
| 107 |