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

Getting Below errors when trying to access Juniper router #253

Open
mandarp22 opened this issue Aug 1, 2024 · 0 comments
Open

Getting Below errors when trying to access Juniper router #253

mandarp22 opened this issue Aug 1, 2024 · 0 comments

Comments

@mandarp22
Copy link

I tried :

./junos_exporter -ssh.targets=192.168.1.1 -ssh.user=user_name -ssh.password=Password.1!

Errors while using password:
INFO[0000] Starting JunOS exporter (Version: 0.12.4)
INFO[0000] Listening for /metrics on :9326 (TLS: false)
ERRO[0007] Could not connect to 192.168.1.1: could not connect to device: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

Errors while using key:
ERRO[0006] Could not connect to 192.168.1.1: could not connect to device: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
ERRO[0012] Could not connect to 192.168.1.1: could not connect to device: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

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

1 participant