wodssh suppressing echo characters - WeOnlyDo Discussion board

wodssh suppressing echo characters (General questions)

by Larry McHale, Tuesday, August 30, 2005, 15:36 (7024 days ago)

I read that you can capture that command that you send and suppress the echo characters that return. I do not know hos to do that. I have to use the AllocatePty for certian scripts to run, but I dont want to see the command string. I also have to send and recieve without disconnecting from the server, so I cant use the .command property. Any help?

Re: wodssh suppressing echo characters

by wodSupport, Tuesday, August 30, 2005, 15:51 (7024 days ago) @ Larry McHale

Larry,

I guess this depends on the server and it's options. What protocol do you use, SSH or Telnet?

Problem is that you don't *ever* see data that is being sent, but server usually sends back your data, and that's why you capture it. You could send telnet option for 'supress echo' and that might help. I can check docs to see exactly what telnet option is that. Not sure about SSH at this moment, I would have to check docs.

Re: wodssh suppressing echo characters

by Larry McHale, Tuesday, August 30, 2005, 15:57 (7024 days ago) @ wodSupport

Larry,

I guess this depends on the server and it's options. What protocol do you use, SSH or Telnet?

Problem is that you don't *ever* see data that is being sent, but server usually sends back your data, and that's why you capture it. You could send telnet option for 'supress echo' and that might help. I can check docs to see exactly what telnet option is that. Not sure about SSH at this moment, I would have to check docs.

I am using ssh.

Re: wodssh suppressing echo characters

by wodSupport, Wednesday, August 31, 2005, 02:46 (7024 days ago) @ Larry McHale

Larry,

I searched, but couldn't find any info on how to disable echo on SSH. I even tried to find it on Putty, but I had no luck. It always returned my keypresses back to terminal window.