To give you the best experience, this site uses cookies. Continuing to use 9bis.net means you agree to our use of cookies.
 

English version Russian version Version française Nederlandse versie Versión española Version portuguese Version polonaise Italian version Versiunea româna   KiTTY News

KiTTY : Forum

Last modification : -

KiTTY web site




Forum Home
 

Eliminate \"-load\" option

RC - Wed 07/11/2012 17:35:56 CET +0100

It shouldn't be necessary to have a -load option at all. Putty/Kitty should take the first arg, and if it matches the name of a profile, load it! But if it doesn't match a profile, try to resolve it as a host name.

WinSCP does the right thing... SecureCRT does the right thing... OpenSSH does the right thing... Only Putty made this sort of brain-dead decision. Using "Launcy" with putty doesn't work sanely (without a plugin) because of this issue. Any and all other command-line usage of Putty/Kitty would benefit from this change as well


Cyd - Mon 12/11/2012 13:16:56 CET +0100

But sometime the session name is equivalent to user@host.
How can it be possible to make the difference between the session name or the direct connection ?

RC - Wed 14/11/2012 00:00:30 CET +0100

The "session" name just needs to have precendence over the host name. If a session named "host" exists, load and use it. If there is no session by that name, try to resolve "host" and connect to it. No problem.

As I said, OpenSSH already does this, and it works extremely well. "Launchy" with the Putty plug-in also behaves like this. In fact, "Plink" also behaves this way, without problems.

And with OpenSSH, "user@" before the session name will override the user name set in the "session". That would be a nice feature to have, as well, but getting rid of "-load" first, is much more important.




Answer


The forum is actually closed