sshping
sshping copied to clipboard
When using `-F`, settings `Port` and `User` is ignored
It seems that when using the option -F
and a server has the configuration options User
and/or Port
defined (to something else than port 22), this will be ignored by sshping. You can see this when enabling -v
:
User will be: --not specified--
Port will be: 22
(There are two SSH services running, one at 22 and one at the port specified in the config file.)
This happened to me while using libssh 0.7.0.
So we are also seeing that the Port and User setting in the -F config file is not being used for the connection. We have overcome this issue by sshping .... user@serverip:port. We have found other issues with the -F config file and will post separately