Menu Close
How Can We Help?
You are here:
Print

Windows Terminal SSH useful script

Add this useful command-line to your WindowsTerminal to be able to keep the SSH tab open while the remote system reboots or disconnects:

"cmd.exe /q /C \"(@echo off) && FOR /L %N IN () DO (ssh user@server & pause & cls)\" "

Comments are welcome.