sshping icon indicating copy to clipboard operation
sshping copied to clipboard

Fix to support special character '@' in username

Open gustavosbarreto opened this issue 4 years ago • 0 comments

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.

gustavosbarreto avatar Jul 29 '22 15:07 gustavosbarreto