sshping
sshping copied to clipboard
Fix to support special character '@' in username
Hi, we are using this utility in ShellHub to measure SSH latency in our SSH Cloud SaaS servers.
In ShellHub there is a concept called SSHID which in addition to the username, host and port, also contains the hostname of the target server (we called it SSHID).
SSHID address example:
user@target-server@ssh-bastion-host
This address is valid for the standard SSH Client (openSSH) where the username is parsed as user@target-server and host as ssh-bastion-host but sshping doesn't deal with it.
This PR fix it supporting '@' char in username.