Putty clearing sessions

0

My team is responsible for a small task using putty.exe but they handle many tasks a day.

Basically we connect to host i-sentinel providing a username and password.

Therefore, it is entered a username of the person that requires their session cleared and exit.

What i am in need is a way to launch putty.exe from keyboard command then login to host perhaps using a script to save time.

Is this possible?

stephen

Posted 2013-09-23T10:33:56.207

Reputation: 1

Welcome to SuperUser. What is your operating system? what have you tried so far? – Lorenzo Von Matterhorn – 2013-09-23T11:02:33.183

1@stephen, help me understand, what OS are you on? Can you give any details on what command you're running on the remote server? – SlightlyCuban – 2013-09-23T21:07:35.633

Answers

-1

Have you considered trying KiTTY? It supports automatic login when connecting to a host!

Short description of KiTTY: KiTTY is a fork from version 0.63 of PuTTY, the best telnet / SSH client in the world. KiTTY is only designed for the Microsoft Windows platform.

Read more here

Binding kitty to start with a keystroke shouldn't be too hard!

Edited:

Make a bat file running the command to load a specific session in kitty.

kitty.exe -load sessionname

Ofcourse the exe got to be placed at the same location on all computers running this, but that could be as easy as "C:\kitty".

The bat file can then be assigned a keyboard shortcut - completing what you were after.

xstnc

Posted 2013-09-23T10:33:56.207

Reputation: 683

you recommended the software for automatic login, but still did not address the real question that is to assign a keyboard key combinaton to launch the client. – Lorenzo Von Matterhorn – 2013-09-23T11:10:11.347

1OK so I can create a .bat file which launches Kitty or keyboard shortcut. But what is the correct code to complete the connection and login username and password boxes? – stephen – 2013-09-23T11:23:53.590

1

This is the automatic logon script page for Kitty (http://kitty.9bis.net/) unfortuantely filling in a .txt file via logon script. I can't work out how to have this txt file always in Kitty.

– stephen – 2013-09-23T11:26:43.753

1I think my question is now how do I launch a saved session in putty from either a script or commandline rather than launching Kitty interface. – stephen – 2013-09-23T11:39:45.213

@stephen To launch from cmd, use the -load flag. (kitty.exe -load NAME) where NAME is the session name from your list. Tested and worked like a charm on a few hosts for me. – xstnc – 2013-09-24T07:44:31.680

@stephen updated my answer aswell. – xstnc – 2013-09-24T07:48:50.407