LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2011, 09:25 AM   #1
+North+
LQ Newbie
 
Registered: Apr 2011
Location: New England
Distribution: Fedora, CentOS5
Posts: 1

Rep: Reputation: 0
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
 
Old 04-20-2011, 11:18 AM   #2
rforth
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 0
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

Last edited by rforth; 04-20-2011 at 11:24 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scanf reading newline into char array while reading 1 char at a time austinium Programming 6 09-26-2010 11:27 PM
How to limit what apache writes to the log files andrew777 Linux - Server 3 05-13-2010 09:34 PM
Postfix No Longer Writes To Log carlosinfl Linux - Server 2 03-03-2010 09:38 AM
Putty logs me out / Putty throws me out after I log in ytd Linux - General 15 08-09-2009 03:03 AM
Input in integers, users writes a char, how to catch exception? raskol Programming 4 03-30-2008 12:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration