Re: How to have PuTTY go in background only?

From: Scott W Reeve (swr@TheWorld.com)
Date: 02/14/02

  • Next message: Håkan Stensby: "Force use of /bin/login"

    From: swr@TheWorld.com (Scott W Reeve)
    Date: Wed, 13 Feb 2002 23:01:17 GMT
    
    

    Thanks for the info. Actually, I am using plink (I meant putty
    in the general sense - I should have been more specific).

    I use plink with all of the options (user, password, port
    forwarding info, etc) and it works fine, but, like I said,
    it always brings up the window.

    The Unix SSH command allows one to do this; the -f option
    will connect but not give any shell. I'm hoping that I
    can do the same somehow with plink.

    The reason that I want to do it this way is because the
    extra window is simply not necessary to the application.
    The application will only be telnetting over the forwarded
    port(s) of the ssh tunnel.

    Scott Reeve

    In article <Hbg*RDRgp@news.chiark.greenend.org.uk>,
    Simon Tatham <anakin@pobox.com> wrote:
    >Scott W Reeve <swr@TheWorld.com> wrote:
    >> I want to have PuTTY (on a NT4.0 machine) be executed from another
    >> application. Is there a way to do this so that it just happens
    >> in the background? It always brings up that DOS-like window, and
    >> that is unnaceptable in my situation.
    >
    >Why do you want PuTTY to be executed if it doesn't display the
    >window you can put input into? Do you want to run it just to manage
    >port forwardings? Or do you want to run it and expect to pass data
    >to it from your `other application'?
    >
    >In either case, you might find the command-line utility Plink works
    >better for you.

    >--
    >Simon Tatham "Every person has a thinking part that wonders what
    ><anakin@pobox.com> the part that isn't thinking isn't thinking about."



    Relevant Pages

    • Re: terminal settings with plink
      ... Plink aims to be strictly a command-line ... > DOS-box with clean terminal screens. ... just command-line-based) client that runs in a DOS-box? ... if the 'terminal' is a DOS window which supports the ANSI ...
      (comp.security.ssh)
    • Re: moodss and putty problem
      ... > and putty don't seem to share info. ... While putty works find, plink ... Sounds like you're doing protocol negotiation (perhaps that's done ... the protocol negotiation and therefore picking the host key that you ...
      (comp.lang.tcl)
    • Re: Putty 0.54 Bug? -- Using a Proxy server with Plink
      ... Putty 0.54, but I still had Plink 0.53b. ... Now, Dreamweaver still doesn't work, but that's a problem ... > connect over the proxy server (its firewall settings don't seem to ...
      (comp.security.ssh)
    • Re: Loggin within PLink
      ... I am using Putty to SSH onto a win2k server. ... need to run telnet and rlogin from the command prompt/DOS shell. ... is handled very well by PLink BUT is there any way to impliment ... logging just fine but not PLink. ...
      (comp.security.ssh)
    • Re: How to have PuTTY go in background only?
      ... Plink doesn't do anything to explicitly bring up a console window. ... Have you tried redirecting its input ...
      (comp.security.ssh)