Skip to content

Commit 66426d7

Browse files
committed
Fix #21 -- ssh client cannot issue commands to Tectia sshd server
Will work with Tectia server 6.3.6 and all Tectia ssh servers. Tested with latest Tectia ssh server 6.4.12
1 parent 2923fc6 commit 66426d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/win32/win32compat/tncon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ int ReadConsoleForTermEmul( HANDLE hInput, char *destin, int destinlen)
193193
{
194194
case 0xd:
195195
if (pParams->nReceiveCRLF == ENUM_LF)
196-
NetWriteString2(pParams->Socket, "\n", 1, 0);
196+
NetWriteString2(pParams->Socket, "\r", 1, 0);
197197
else
198198
NetWriteString2(pParams->Socket, "\r\n", 2, 0);
199199
break;

0 commit comments

Comments
 (0)