Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using -F, settings Port and User is ignored #28

Open
waazaawaazaa opened this issue Oct 22, 2021 · 1 comment
Open

When using -F, settings Port and User is ignored #28

waazaawaazaa opened this issue Oct 22, 2021 · 1 comment

Comments

@waazaawaazaa
Copy link

waazaawaazaa commented Oct 22, 2021

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.

@rgillan
Copy link

rgillan commented Oct 24, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants