Sunday, June 2, 2013

HPSA Tricks - Open Terminal with SecureCRT and PuTTy

HPSA (HP Server Automation) can open a terminal to any server without requiring logging into the server. This is a pretty neat feature. However, by default, it opens a telnet window to the server. It doesn't mean that there is an actual telnet connection, but the terminal is a fake terminal, just talks to the HPSA agent and not a real session directly to the server.

Tools ==> Options ==> Terminal and Shell

Terminal Client is set to:

cmd /c start /w cmd /c "(telnet %h %p || echo > nul) && echo %m && pause > nul"

To use SecureCRT, use this string instead:

path_to_secureCRT\SecureCRT.exe /telnet %h %p

To use PuTTy, try this string

C:\Program Files\PuTTY\putty.exe -telnet %h %p


Why SecureCRT or PuTTY? Because you can copy paste with right click on either of them.

1 comment:

Unknown said...

what is the option for SSH client settings ?

cmd /c start /w cmd /c "(ssh %h %p || echo > nul) && echo %m && pause > nul" ???

plus from putty as well for ssh?