SSH Timeout in Power PMAC Posted October 28, 2022 · Edited October 29, 2022 by CharlesCarter I'm executing a script connecting via password-less SSH on a remote host. I want to set a timeout, so that if the remote host is taking an infinite time to run, I want to come out of that ssh session and continue other lines in my sh script. How can I set a timeout?
SSH Timeout
in Power PMAC
Posted · Edited by CharlesCarter
I'm executing a script connecting via password-less SSH on a remote host. I want to set a timeout, so that if the remote host is taking an infinite time to run, I want to come out of that ssh session and continue other lines in my sh script.
How can I set a timeout?