💻 Software
Remotely run script on Unix, get output locally?
Fresh5 days ago
Mar 15, 2026168376 viewsConfidence Score1%
1%
Problem
I need to run a (Tcl, or whatever) script on a remote Unix machine, from a (local) Windows command shell, and I want the stdout/stderr of the script to show up in the Windows CLI. The exit code would also be useful. Is this possible using ssh (putty)? Or by any other means?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Remotely run script on Unix, get output locally?
Low Risk
This is the default for SSH. If you want to redirect output remotely, put the redirect symbol (typically ">") inside the command quotes. For example: For saving output locally on Windows host, To combine stderr remotely and save it and stdout locally,
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix