Skip to content

Getting Below errors when trying to access Juniper router #253

@mandarp22

Description

@mandarp22

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions