-
Notifications
You must be signed in to change notification settings - Fork 9
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
Getting errors when hit to /prob?pattern="pattern_Name" #1
Comments
|
Confirmed, we currently only support passwordless private keys. I would like to avoid having a password in the config file but there might be other ways we could handle this. We could read the passphrase from an environment variable. |
instead accepting as key we can accept it as password, for this you have to do following changes in main.go, change to |
That would allow you to specify a password for the account instead of a key. Which would mean that you're storing an account password in a clear text file which we didn't implement because I'm comfortable with that. What would probably be better would be to unlock the key and store it with ssh-agent but I don't think that the ssh library will connect to it without some changes to the code. Here's a simple example if you want to try it. |
OS:Ubuntu 14.04
When i run ssh_exporter and when i click to localhost:9382/probe?pattern="manik", it show this
URL:http://localhost:9382/probe?pattern=manik
The text was updated successfully, but these errors were encountered: