Ad Widget

Collapse

Howto check ssh *login* on a remote server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Arsenick
    Junior Member
    • Jul 2016
    • 2

    #1

    Howto check ssh *login* on a remote server

    Hi, I would like to test a ssh login to a remote server, so basically I want to check if $ ssh user@[email protected] does login, if it doesn't I would like to create a trigger that generate an alert..

    I should probably let you know why I want to check the login via ssh. The main goal is to verify that the authentication to the AD is working, we have intermittent problem on this server and the process don't crash so I can't monitor the service plus the sssd service cache the information so I can't just get the result of a command like $ id user@domain. Even if the service is down I will get result..

    I use Zabbix 3.0.3.

    Thanks!
Working...