Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The only way the following command will work for me, is when putty's saved default connection does not define a host parameter.

 plink -l user -pw password myhost command

The result is:

myhost: Command not found.

Instead, what I need to type is:

plink -l user -pw password command

And the host is taken from putty's default connection.

Is the a way to work around this? I want both the default connection in putty, but I also want the ability to specify my own host for plink.

share|improve this question
up vote 2 down vote accepted

I had this same problem, and this works for me:

plink -load null host -l user -pw password 

Where "null" is a non-existent session.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.