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 –

Share This Post

About Author: Curtis K

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