sshping icon indicating copy to clipboard operation
sshping copied to clipboard

When using `-F`, settings `Port` and `User` is ignored

Open waazaawaazaa opened this issue 3 years ago • 1 comments

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.

waazaawaazaa avatar Oct 22 '21 09:10 waazaawaazaa

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

rgillan avatar Oct 24 '23 00:10 rgillan