Posts

Showing posts with the label Putty

A Putty Shortcut That Automatically Launches A Profile?

Answer : From the Putty FAQ: To run a PuTTY session saved under the name ‘mysession’, create a Windows shortcut that invokes PuTTY with a command line like \path\name\to\putty.exe -load "mysession" ---EDIT--- In Windows 7, the shortcut has to be in quotes like this: "\path\name\to\putty.exe" -load "mysession" I had referred to Putty Connection Manager as a useful addon, giving one click connects and tabbed windows, but it seems the app is dead and all the files removed from the hosting site. While checking into this, I found a fork of the project, called superputty (see below) and a reference to KiTTY - a Win32 native version of PuTTY with extra features so here you go: Superputty:https://github.com/jimradford/superputty KiTTY: http://kitty.9bis.com/ In windows use this target for putty shortcut, for save username and password. Then load a saved session or add to Task Manager: "C:\Program Files\PuTTY\putty.exe" -load ...

Changing The PuTTY Character Set For All Saved Sessions

Answer : I just had the same problem and found PuTTY session manager: PuTTY Session Manager is a tool that allows system administrators to organise their PuTTY sessions into folders and assign hotkeys to favourite sessions. Multiple sessions can be launched with one click. Requires MS Windows and the .NET 2.0 Runtime. It allows you to configure specific attributes of all sessions at once while leaving the distinct elements alone. PuTTY Session Manager has no documentation, so here are instructions (correct as of version 0.50.189.0): In PuTTY, load the default settings, change the settings you need, and save it as the default again. Install PuTTY session manager (if you don't already have it) and start it. Right click the PuTTY Session Manager icon in the system tray, and choose "Session Editor" Select all sessions and click "Copy Session" at the bottom of the window. Make sure the "Choose Session Template" dropdown is set to "Default...

Batch File For PuTTY/PSFTP File Transfer Automation

Answer : You need to store the psftp script (lines from open to bye ) into a separate file and pass that to psftp using -b switch: cd "C:\Program Files (x86)\PuTTY" psftp -b "C:\path\to\script\script.txt" Reference: https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter6.html#psftp-option-b EDIT: For username+password: As you cannot use psftp commands in a batch file, for the same reason, you cannot specify the username and the password as psftp commands. These are inputs to the open command. While you can specify the username with the open command ( open <user>@<IP> ), you cannot specify the password this way. This can be done on a psftp command line only. Then it's probably cleaner to do all on the command-line: cd "C:\Program Files (x86)\PuTTY" psftp -b script.txt <user>@<IP> -pw <PW> And remove the open , <user> and <PW> lines from your script.txt . Reference: https://the.earth.li...