Ssh connect reads input from check_mk

I have a question; I probably misconfigured something, and need a way out.

How comes that if I ssh into a node, I get the check_mk results delivered, instead the login prompt of the server?

This is the picture. From the checkmk server I want to connect to a client:

root@sallcheckmk:[/]> ssh ip-address-of-client
<<<check_mk>>>
Version: 2.0.0p9
AgentOS: linux
Hostname: sallapprfs01.research.silicon-austria.com
AgentDirectory: /etc/check_mk
DataDirectory: /var/lib/check_mk_agent
SpoolDirectory: /var/lib/check_mk_agent/spool
PluginsDirectory: /usr/lib/check_mk_agent/plugins
LocalDirectory: /usr/lib/check_mk_agent/local
<<>>

<<>>
/home/heerr hanging 0 0 0 0
/home/kalea hanging 0 0 0 0
/home/hofbauerc hanging 0 0 0 0

I know this picture as a kind of debug diagnosis, to check if check_mk works properly and so on. But how did I (mis)configure this? I simply want my Login back :slight_smile:

It looks like you use an ssh key who is configured on your target machine to output the check_mk_agent output.
Can you check what ssh key you use here?

thanks, but I couldn’t figure out the root cause, especially the ssh key settings.
I double-checked .ssh/authorized_keys etc. , but nothing inside.
My unlucky solution was to remove the agent from the node, I had no other choice

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.