| View previous topic :: View next topic |
| Author |
Message |
H.G.Muller

Joined: 10 Mar 2006 Posts: 12753 Location: Amsterdam
|
Posted: Tue Aug 23, 2011 6:07 pm Post subject: ssh server |
|
|
I installed freeSSHd as an ssh server on a windows machine, with the aim to run a remote engine there. Indeed I can run the engine from the command line, from another Windows machine using plink, but the problem is that apart from the normal engine output I get the commands I send it echoed back to me. A GUI (in particular Polyglot) does not like that at all, so I cannot play the engine automatically.
I also tried to connect from a Linux machine using genuine ssh. Then I also get the commands echoed to me, (I get to see every command twice, from the command line), but the engine doesn't react to them at all. I do see the welcome message of the engine, though, so I know that I am connected and that the engine is running. This is presumably a CR/LF problem. But it suggests the echo originates from the server, and not from the client.
Is it normal that an ssh server would echo everything you send it? Or is freeSSHd just a crappy implementation? |
|
| Back to top |
|
 |
Daniel Shawul
Joined: 14 Mar 2006 Posts: 2186 Location: Ethiopia
|
|
| Back to top |
|
 |
Matthew Hull
Joined: 08 Mar 2006 Posts: 6953 Location: Dallas, Texas
|
Posted: Tue Aug 23, 2011 6:29 pm Post subject: Re: ssh server |
|
|
| hgm wrote: |
I installed freeSSHd as an ssh server on a windows machine, with the aim to run a remote engine there. Indeed I can run the engine from the command line, from another Windows machine using plink, but the problem is that apart from the normal engine output I get the commands I send it echoed back to me. A GUI (in particular Polyglot) does not like that at all, so I cannot play the engine automatically.
I also tried to connect from a Linux machine using genuine ssh. Then I also get the commands echoed to me, (I get to see every command twice, from the command line), but the engine doesn't react to them at all. I do see the welcome message of the engine, though, so I know that I am connected and that the engine is running. This is presumably a CR/LF problem. But it suggests the echo originates from the server, and not from the client.
Is it normal that an ssh server would echo everything you send it? Or is freeSSHd just a crappy implementation? |
If you are using PuTTY on the client side, it's supposed to try and figure out whether local echo is appropriate or not. If it's not doing it right, you can force it to echo or not upon invocation (I think).
http://the.earth.li/~sgtatham/putty/0.60/htmldoc/Chapter4.html#config-localecho _________________ Matthew Hull |
|
| Back to top |
|
 |
Steven Edwards

Joined: 13 Mar 2006 Posts: 3071 Location: Mud, Bugs, and Taxes, NH, USA
|
Posted: Tue Aug 23, 2011 10:15 pm Post subject: Re: ssh server |
|
|
The Linux openssh implementation appears in all respects to be functionally equivalent to the same system in OpenBSD. I have run all possible client/server combinations and they all work and they work in the same way.
By default, there is no local echo. I don't know why one would want this anyway. |
|
| Back to top |
|
 |
Robert Hyatt
Joined: 27 Feb 2006 Posts: 15814 Location: Birmingham, AL
|
Posted: Tue Aug 23, 2011 11:23 pm Post subject: Re: ssh server |
|
|
| hgm wrote: |
I installed freeSSHd as an ssh server on a windows machine, with the aim to run a remote engine there. Indeed I can run the engine from the command line, from another Windows machine using plink, but the problem is that apart from the normal engine output I get the commands I send it echoed back to me. A GUI (in particular Polyglot) does not like that at all, so I cannot play the engine automatically.
I also tried to connect from a Linux machine using genuine ssh. Then I also get the commands echoed to me, (I get to see every command twice, from the command line), but the engine doesn't react to them at all. I do see the welcome message of the engine, though, so I know that I am connected and that the engine is running. This is presumably a CR/LF problem. But it suggests the echo originates from the server, and not from the client.
Is it normal that an ssh server would echo everything you send it? Or is freeSSHd just a crappy implementation? |
I use ssh all the time and do not see this ever. I see characters echoed as I type them, of course. I almost suspect this is an artifact of windows, but I am not a windows expert. |
|
| Back to top |
|
 |
Don Dailey
Joined: 29 Apr 2008 Posts: 4311
|
Posted: Tue Aug 23, 2011 11:49 pm Post subject: Re: ssh server |
|
|
| hgm wrote: |
I installed freeSSHd as an ssh server on a windows machine, with the aim to run a remote engine there. Indeed I can run the engine from the command line, from another Windows machine using plink, but the problem is that apart from the normal engine output I get the commands I send it echoed back to me. A GUI (in particular Polyglot) does not like that at all, so I cannot play the engine automatically.
I also tried to connect from a Linux machine using genuine ssh. Then I also get the commands echoed to me, (I get to see every command twice, from the command line), but the engine doesn't react to them at all. I do see the welcome message of the engine, though, so I know that I am connected and that the engine is running. This is presumably a CR/LF problem. But it suggests the echo originates from the server, and not from the client.
Is it normal that an ssh server would echo everything you send it? Or is freeSSHd just a crappy implementation? |
At Leiden and many other times we use xboard locally and run the chess program remotely by just setting up the program like this:
-fcp "ssh some_linux_machine.com komodo"
and it works flawlessly (as long as you set the keys up properly of course.) There should be no echo, no problem.
It almost sounds like the remote shell thinks it's a terminal or something - maybe there is a configuration option to turn that off?
Can you connect TO a program on a linux machine and make this work? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|