Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

3  
Use keys and pageant. –  Iain Sep 24 '13 at 21:02

1 Answer 1

up vote 0 down vote accepted

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

https://wiki.archlinux.org/index.php/SSH_Keys

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.