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

I'm trying to run a remote command on an SSH server via the Remote command field of the PuTTY Configuration dialog (Connection -> SSH) and every time I do the window closes before I've had a chance to read the output of that command.

Here's a screenshot:

Any ideas?

share|improve this question
why dont you login and run the command regularly? – Ali Hashemi Nov 21 '13 at 8:57

2 Answers 2

Simply add a read to your command, for example:

uptime && read

This will show the output of uptime and then waits for you to press the enter key.

share|improve this answer
That works great unless you're connecting to something like a switch or router or something that might not have read as a command. – neubert Nov 21 '13 at 20:09

putty has a setting to do exactly what you want:

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.