View Single Post

  #6  
Old 08-21-2008, 09:22 AM
Default Re: PuTTY - starting from command line with logging enabled

On Aug 21, 4:18*am, Dale Dellutri wrote:

> Then do it this way:
>
> 1. Modify the Default session to include logging with a
> *file name like unixserver-&H-&Y&M&D&T.log in whatever
> *directory you choose. *The H will be filled in with
> *the hostname, YMDT with the year, month date time.
> *Save the Default session
>
> 2. In your batch file, start putty like:
> * *putty.exe -ssh %user%@%host%
> *(I think that's the right DOS syntax)
> *where %user% and %host% will be filled in as you
> *described.
>
> This will use the Default session which you already
> modified to include logging.
>
> All of this is described in the documentation at:
> *http://www.chiark.greenend.org.uk/~s...utty/docs.html
>
> --
> Dale Dellutri (lose the Q's)



I tried doing this. I inserted a fixed log name, nothing fancy with %
signs and such, enabled logging everything (not just printable
characters) just to test and saved the default but when I start a
session, it still starts without the logging enabled.
Reply With Quote