Saving the Putty Session Logging
I Am Using Putty for Logging in to Solaris/Linux Servers. Under Sessions → Logging, We See 'Session Logging' Settings. I Am Not Able to Save the Settings for...
I am using PuTTY for logging in to Solaris/Linux servers.
Under Sessions → Logging, we see 'Session Logging' settings. I am not able to save the settings for permanent use.
Isn't such feature available or am I wrong somewhere?
PS: I want to save the log file path, 'All session output' as a 'forever setting'.
4 Answers
It works fine for me, but it's a little tricky :)
- First open the PuTTY configuration.
- Select the session (right part of the window, Saved Sessions)
- Click Load (now you have loaded Host Name, Port and Connection type)
- Then click Logging (under Session on the left)
- Change whatever settings you want
- Go back to Session window and click the Save button
Now you have settings for this session set (every time you load session it will be logged).
I always have to check my cheatsheet :-)
Step 1: right-click on the top of putty window and select 'Change settings'.
Step 2: type the name of the session and save.
That's it!. Enjoy!
To set permanent PuTTY session parameters do:
Create sessions in PuTTY. Name it as "MyskinPROD"
Configure the path for this session to point to "C:\dir\&Y&M&D&T_&H_putty.log".
Create a Windows "Shortcut" to C:...\Putty.exe.
Open "Shortcut" Properties and append "Target" line with parameters as shown below:
"C:\Program Files (x86)\UTL\putty.exe" -ssh -load MyskinPROD user@ServerIP -pw password
Now, your PuTTY shortcut will bring in the "MyskinPROD" configuration every time you open the shortcut.
Check the screenshots and details on how I did it in my environment:
This is a bit confusing, but follow these steps to save the session.
- Category -> Session -> enter public IP in Host and 22 in port.
- Connection -> SSH -> Auth -> select the .ppk file
- Category -> Session -> enter a name in Saved Session -> Click Save
To open the session, double click on particular saved session.