Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I have same password with pscp as putty (obviously) to an Ubuntu 13.04 server, and Im running a batch file, win 8.1 preview. This batch file requires me to run 2 windows, and enter 2 passwords (PUTTY/PSCP). Is there any way of telling putty, or PSCP, password is already entered, or, if you can combine these; or alternate solution....

Thanks // Marcus.

share|improve this question

closed as off-topic by Zoredache, Jenny D, Ward, Tim Brigham, mdpc Sep 25 '13 at 19:34

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Zoredache, Jenny D, Ward, mdpc
If this question can be reworded to fit the rules in the help center, please edit the question.

Use keys and pageant. – Iain Sep 24 '13 at 21:02
up vote 0 down vote accepted

using ssh certificate keys means you wont need to enter your password interactively at all

1) create the key pair
2) put pub key in .ssh/authorized_keys
3) use private key on the client to connect to server

share|improve this answer

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