5 ms·
I wrote a program that waits for a socket response. When I reboot a vm, I use it to know when I can ssh in: https://github.com/brianmed/SocketFun/tree/main/so
by bpmedley 3y ago
I wrote a program that waits for a socket response. When I reboot a vm, I use it to know when I can ssh in:
https://github.com/brianmed/SocketFun/tree/main/socketwait https://github.com/brianmed/SocketFun/tree/main/socketwait
socketwait 192.168.1.10 22 --waitFor TcpRegexResponse --tcpRetries 300 --tcpRegexResponse '^SSH'