Open detain opened 12 years ago
This is a great idea! I know it is because it is already in my TODO list for the next version of Gate One after 1.0 :)
I've actually been working on something similar that would let you execute commands after connecting to any given host but it wasn't quite the same thing as this. I'll definitely add the "execute a command immediately after connecting" feature soon and thanks for the patch!
For reference, my original plan was to have a separate interface for defining macros and then provide the capability to call a given macro (or macros) after a bookmark was connected. This would be in addition to the ability to assign macros to arbitrary keyboard shortcuts. I think it would be better than defining the commands/macros within bookmarks themselves since you might want to have bookmarks that execute a common sequence. What do you think?
Also, why did you disable SSHFP in your patch?
ahh your way sounds better =)
didnt mean to disable the sshfp
From: Dan McDougall [reply@reply.github.com] Sent: Sunday, January 22, 2012 1:05 PM To: Joeseph Huss Subject: Re: [GateOne] Per-Bookmark Additional SSH Options (#83)
This is a great idea! I know it is because it is already in my TODO list for the next version of Gate One after 1.0 :)
I've actually been working on something similar that would let you execute commands after connecting to any given host but it wasn't quite the same thing as this. I'll definitely add the "execute a command immediately after connecting" feature soon and thanks for the patch!
For reference, my original plan was to have a separate interface for defining macros and then provide the capability to call a given macro (or macros) after a bookmark was connected. This would be in addition to the ability to assign macros to arbitrary keyboard shortcuts. I think it would be better than defining the commands/macros within bookmarks themselves since you might want to have bookmarks that execute a common sequence. What do you think?
Also, why did you disable SSHFP in your patch?
Reply to this email directly or view it on GitHub: https://github.com/liftoff/GateOne/issues/83#issuecomment-3604638
I added a new option to the Bookmarks plugin. It gives you an extra box to specify additional stuff to send over the SSH connection after your connected. For example if you wanted to create a bookmark that would type 'w' as soon as you logged in, you would just put the 'w' in the Additoinal SSH Options box.
Its probably not the cleanest of code, first time really playing around w/ python.