sshwait: a script that waits for SSH to be available before connecting

What is sshwait!?

Just restarted a server? Tired of pressing up and enter while waiting for SSH to be accessible again? Then sshwait is for you! This script automatically waits for an SSH connection to become available before attempting to connect.

Output example

./sshwait ck@demo.centosblog.com
SSH user: ck
SSH host: demo.centosblog.com
SSH options:

Waiting for SSH connection
.................
SSH ready (waited for 111 seconds)

ck@demo.centosblog.com's password:

 

Installation

To install sshwait, head to my Github page for installation instructions – https://github.com/centosblog/sshwait

Scan to Donate Bitcoin
Like this? Donate Bitcoin to at:
Bitcoin 14M4a7UHEX61VoHkyjj4dxbUBNGGz3hmhM
Donate
Share This Post

About Author: Curtis K

Hi! My name is Curtis, and I am the creator of CentOS Blog. Please feel free to comment any suggestions, feedback or questions on my posts!