Re: Control Putty from another process [patch]

From: Simon Tatham (anakin_at_pobox.com)
Date: 05/08/03


Date: 08 May 2003 15:28:12 +0100 (BST)

Peter Åstrand <peter@cendio.se> wrote:
> I've been trying to find a good solution for controlling Putty (or
> plink, really) from another application. I've selected anonymous pipes
> as IPC mechanism, and modified Putty to use a simple, machine-parsable,
> text-based protocol, instead of the normal user-friendly messages.

What's the real advantage of this mechanism?

Plink already offers ways to avoid most of the interactive prompts;
you avoid the host key prompt by already having the correct host key
in the registry, and by specifying -batch to avoid your process
hanging if it changes. You avoid the password prompt by setting up
PK authentication (or using -pw if you really must), and so on.

I'd prefer to fix any remaining problems in this area than to set up
an entirely new way around them... Is there something you're trying
to do here that fundamentally _can't_ be done using (things like)
the existing mechanisms?

-- 
Simon Tatham         "The voices in my head are trying to ignore me.
<anakin@pobox.com>    But if I keep talking, I can drive them insane."


Relevant Pages

  • Re: Help with Save command in VBA
    ... avoid using ActiveDocument more than once in any ... macro, since Word can change its mind about what document is active. ... prompt you to save a file that you had already saved if you attempt to ...
    (microsoft.public.word.vba.general)
  • Re: Required Fields
    ... prompt, save the item after you generate the ... >> Is there a way to programatically turn on the required flag for a ... How can I avoid this? ...
    (microsoft.public.outlook.program_forms)
  • ksh read prints newline after signal receipt
    ... Does anyone know how I can avoid that ksh-read issues a newline upon ... waiting for the script user to enter a command at a prompt. ... cursor one line after the prompt. ...
    (comp.unix.shell)
  • Re: IIS 6.0 Host Headers and Kerberos
    ... You merely wish to avoid the prompt from Internet Explorer? ... should I put the various setspn and adsutil settings ...
    (microsoft.public.inetserver.iis.security)
  • Re: passwords for network places
    ... If you use an account that matches one on the NT ... in name and password you often avoid the prompt. ... Roger Abell ...
    (microsoft.public.windowsxp.security_admin)

Quantcast