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

SSH user: ck
SSH host:
SSH options:

Waiting for SSH connection
SSH ready (waited for 111 seconds)'s password:



To install sshwait, head to my Github page for installation instructions –

Scan to Donate Bitcoin
Like this? Donate Bitcoin to at:
Bitcoin 14M4a7UHEX61VoHkyjj4dxbUBNGGz3hmhM
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!