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..

meeks 2012-09-12 16:24 mg_sshfix
Commit 297cb3e525e0a4a0f59f80b0eb7b8d4a1d53dfa9
1 file changed +4
--- src/http_transport.c
+++ src/http_transport.c
@@ -92,11 +92,15 @@
9292
}
9393
9494
/*
9595
** Default SSH command
9696
*/
97
+#ifdef __MINGW32__
9798
static char zDefaultSshCmd[] = "ssh";
99
+#else
100
+static char zDefaultSshCmd[] = "ssh -e none";
101
+#endif
98102
99103
/*
100104
** Global initialization of the transport layer
101105
*/
102106
void transport_global_startup(void){
103107
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button