Re:Show HN: Posixcube, a shell script automation framework a...
by schizoidboy on Thursday January 12, 2017 @04:44PM
(#13386399)
I agree the ambiguous return code is a major limitation of SSH. I think I'll just avoid any retry logic and treat every failure the same: fail immediately and let the user to decide how to retry. Since posixcube does most of its execution over a single SSH connection (packaging all commands/cubes into a cube_exec.sh which is executed remotely), I think the immediate need for automatic retry on failing to connect over SSH isn't large.
[ Parent
| on HN ]
There are no comments on this comment yet.