Azaret / superputty

Automatically exported from code.google.com/p/superputty
MIT License
0 stars 0 forks source link

Login Script/Macro #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
PuttyCM had a feature "LoginMacro" which worked like that:

It requested the password before actually starting the session and logging in, 
then it could execute a number of commands, with the option to pause in between 
(Connection, Login, Password, Command)

In my case this was very handy because it allowed to start log viewers or 
deployment tools automatically.

Rather than a linewise interface as PuttyCm I would prefer a path to a script 
file, nice to have with editor.

What do you think?

Original issue reported on code.google.com by dietrich...@gmail.com on 26 Apr 2012 at 8:15

GoogleCodeExporter commented 9 years ago
KiTTY has some support for this...haven't tried it yet

http://www.9bis.net/kitty/?page=Automatic%20command&zone=en

Original comment by btatey...@gmail.com on 13 May 2012 at 4:53

GoogleCodeExporter commented 9 years ago
Issue 37 has been merged into this issue.

Original comment by btatey...@gmail.com on 13 May 2012 at 4:56

GoogleCodeExporter commented 9 years ago
Is it possible to use SuperPutty with Kitty?

Original comment by dietrich...@gmail.com on 14 May 2012 at 9:28

GoogleCodeExporter commented 9 years ago
Yes it is possible to use Kitty with Superputty and I was also able to execute 
one command, but I need more ;-)

The script file option does not work, it has timing issues, the ssh terminal 
shows that the script file content is sent partially, but mostly it is cut off.

The one-line option does not work, my commandline would have to be
sudo su - [user] ; cd /opt/websphere-61/path ; app/foo.sh
but only su is executed, the rest won't happen.

Do you think you can look into this issue?

Best regards,
Dietrich

Original comment by dietrich...@gmail.com on 14 May 2012 at 10:44

GoogleCodeExporter commented 9 years ago
One more for this enhancement!

Original comment by didi.rib...@gmail.com on 23 May 2012 at 12:54

GoogleCodeExporter commented 9 years ago
Issue 115 has been merged into this issue.

Original comment by btatey...@gmail.com on 31 May 2012 at 10:34

GoogleCodeExporter commented 9 years ago
Issue 148 has been merged into this issue.

Original comment by btatey...@gmail.com on 29 Jul 2012 at 12:05

GoogleCodeExporter commented 9 years ago
I make it myself. 
1) zmodem support(for leputty)
2) jscript macro
see here( 
http://www.cnblogs.com/sunyongyue/archive/2012/08/01/superputty_special_version.
html ) for more details.

Original comment by abioy....@gmail.com on 1 Aug 2012 at 6:42

GoogleCodeExporter commented 9 years ago
Hi,

thank you for the wonderful tool - i use it almost every day. 
The only feature that i miss is a "LoginMacro".

Original comment by max.uzu...@gmail.com on 23 Nov 2012 at 2:16

GoogleCodeExporter commented 9 years ago
Probably it would be better to run PuTTY with -pw switch rather than having a 
buggy macro login mode like in PuTTYcm. Please see Issue 262.

Original comment by codegu...@gmail.com on 1 Feb 2013 at 4:18

GoogleCodeExporter commented 9 years ago
I would also like to see a macro capability or the ability to execute a script 
from notepad 

Original comment by john.dluga@gmail.com on 5 Feb 2013 at 9:13

GoogleCodeExporter commented 9 years ago
Perhaps you can you the existing command line to run a macro. Maybe put the 
macro in quotes to refer to an existing macro in a known directory? I sure wish 
I could code!!

Original comment by alpz1...@gmail.com on 21 Feb 2013 at 9:04

GoogleCodeExporter commented 9 years ago
Kitty feature is ok, but I think you have to save a profile for every 
connection, that's awful if you have hundred of connections :(
-pw extra option (using Kitty) gave me an error that it is not supported on 
Telnet sessions.
It would be so easy to add a field under the "Login username" and let 
SuperPutty handle the password.
Didn't use the Macro to execute commands, but I would vote for it too...

Original comment by rigid...@gmail.com on 4 Apr 2013 at 2:23

GoogleCodeExporter commented 9 years ago
By the way this is the only Reason why I am still using Puttycm. I was really 
happy when I find that the project was followed up by superputty. But the 
happieness disappeared when I recognize the lack of the macro option. If you 
have hundred or more connections to manage its a mess... :-(

Original comment by cscr...@googlemail.com on 11 Apr 2014 at 12:00

GoogleCodeExporter commented 9 years ago
I am also still using puttycm for the autologin macro feature, even tho puttysm 
does not like Win7 and hangs a lot, I have to manage over 100 devices and need 
that macro feature where the pw is stored in the macro.
Any chance that this feature will be in the next release and a ballpark figure 
if so ?

thanks

Original comment by rh...@icenetsys.com on 8 May 2014 at 2:32

GoogleCodeExporter commented 9 years ago
This is something I'm now working on, I envision a script runner that can run a 
script at login or at any other time, much like the expect program on unix 
systems.

Original comment by jimradford@gmail.com on 19 Jun 2014 at 6:41

GoogleCodeExporter commented 9 years ago

Original comment by jimradford@gmail.com on 19 Jun 2014 at 6:45

GoogleCodeExporter commented 9 years ago
Wow! When you've got something to test, throw it my way. Thank you for
looking into this!

Original comment by dietrich...@gmail.com on 20 Jun 2014 at 6:32

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
That would be cool feature to have :) Also, the CodePlex page/link doesn't work.

Original comment by laurens....@gmail.com on 23 Jun 2014 at 2:28

GoogleCodeExporter commented 9 years ago
laurens: change of plans on the codeplex migration, here is the proper place to 
discuss.

Thanks!

Original comment by jimradford@gmail.com on 23 Jun 2014 at 5:04

GoogleCodeExporter commented 9 years ago
any news on this? Did you run into unexpected difficulties while working on 
this?

Original comment by dietrich...@gmail.com on 6 Nov 2014 at 1:58

GoogleCodeExporter commented 9 years ago
you can run login script using Kitty+SuperPutty:
1. Create login-script file (http://9bis.net/kitty/?page=Logon+script)
2. Save your session
3. Add Extra Putty Arguments to your SuperPutty session:
-kload sessions/YourSessionName
That's it!

Original comment by smyasni...@gmail.com on 19 Jan 2015 at 2:58