LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Putty log stdin writes one char at a time (https://www.linuxquestions.org/questions/linux-newbie-8/putty-log-stdin-writes-one-char-at-a-time-875887/)

+North+ 04-19-2011 09:25 AM

Putty log stdin writes one char at a time
 
Hi all,

LQ and linux noobie here. I recently migrated my desktop from Windows to Centos5, and have a question about capturing putty logs.

From my desktop, I use putty to ssh to a lab server. From the lab server, I may (or may not) ssh to another server that I cannot see from my desktop.

Everything that I type from the putty log appears to be double-tapped, and captured one char at a time. For example, if I ssh to a server on the 10. network, the first lines look like this:

[root@lab ~]# s
[root@lab ~]#
[root@lab ~]# s
[root@lab ~]#
[root@lab ~]# ss
[root@lab ~]#
[root@lab ~]# ss
[root@lab ~]#
[root@lab ~]# ssh
[root@lab ~]#
[root@lab ~]# ssh
[root@lab ~]#
[root@lab ~]# ssh 1
[root@lab ~]#
[root@lab ~]# ssh 1
[root@lab ~]#
[root@lab ~]# ssh 10
[root@lab ~]#
[root@lab ~]# ssh 10
[root@lab ~]#
[root@lab ~]# ssh 10.

It just appears to be stdin that is looks like this. Stdout appears normal -- for example, if I execute a long list command, the list appears the same in the log as it does on my screen. Putty is configured to capture printable output, flush log frequently, and omit SSH fields. Any suggestions?

Thanks for your help :)

rforth 04-20-2011 11:18 AM

Does this help? Sorry dont really know what to suggest.

http://fastdot.co.uk/putty-tutorials...-in-putty.html

I am not sure I fully understood,but a quick question will resolve this, um, are you using putty from CentOS or Windows?

EDIT: the only reason I ask is if you are only using PuTTY for its logging ability on CentOS via WINE for example you could just use ssh from the shell with this cool logging script (Ive not used it but it looks like it may do the job for you.

http://www.miljan.org/main/2007/08/1...-ssh-sessions/

Cheers


All times are GMT -5. The time now is 09:35 AM.