atcomsystems.ca/forum
Posted By: jonmyk Putty files? - 06/27/11 07:57 PM
I use PuTTY almost exclusively for access to the 200icp and have a question. I am going to be out of the shop for awhile and want to give the other tech all of the sessions I have saved on my laptop. Where can I find the files or directory to copy to give him? Any help will make him a happy camper instead of having to manually copy the info.

Thanks!
Posted By: johnp Re: Putty files? - 06/28/11 04:08 AM
It's stored in the registry.

HKEY_CURRENT_USER\Software\SimonTatham
Posted By: TDS Re: Putty files? - 06/28/11 09:08 AM
A.2.6 Does PuTTY support storing its settings in a disk file?
Not at present, although section 4.26 in the documentation gives a method of achieving the same effect.
In the help file of putty FAQ

You will need a file called (say) PUTTY.BAT which imports the contents of a file into the Registry, then runs PuTTY, exports the contents of the Registry back into the file, and deletes the Registry entries. This can all be done using the Regedit command line options, so it's all automatic. Here is what you need in PUTTY.BAT:

@ECHO OFF
regedit /s putty.reg
regedit /s puttyrnd.reg
start /w putty.exe
regedit /ea new.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY
copy new.reg putty.reg
del new.reg
regedit /s puttydel.reg
This batch file needs two auxiliary files: PUTTYRND.REG which sets up an initial safe location for the PUTTY.RND random seed file, and PUTTYDEL.REG which destroys everything in the Registry once it's been successfully saved back to the file.

Here is PUTTYDEL.REG:

REGEDIT4

[-HKEY_CURRENT_USER\Software\SimonTatham\PuTTY]
Here is an example PUTTYRND.REG file:

REGEDIT4

[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY]
"RandSeedFile"="a:\\putty.rnd"
You should replace a:\putty.rnd with the location where you want to store your random number data. If the aim is to carry around PuTTY and its settings on one floppy, you probably want to store it on the floppy.
© Sundance Phone System Forums - VOIP & Cloud Phone Help