Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.2.0P1


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

Step-by-step guide

  1. Start OpenSSH Server

    Code Block
    languagepowershell
    themeRDark
    C:\ProgramData\checkmk\agent\plugins>  net start sshd

    .

  2. Create SSH Key pair

    Code Block
    languagebash
    themeRDark
    C:\ProgramData\checkmk\agent\plugins> ssh-keygen


    Code Block
    languagebash
    themeRDark
    C:\ProgramData\checkmk\agent\plugins>ssh-keygen
    Generating public/private rsa key pair.
    Enter file in which to save the key (C:\Users\IEUser/.ssh/id_rsa):
    Created directory 'C:\Users\IEUser/.ssh'
    Enter passphrase (empty for no passphrase):
    Enter same passphrase again:
    Your identification has been saved in C: \Users\IEUser/.ssh/id_rsa.
    Your public key has been saved in C:\Users\IEUser/.ssh/id_rsa.pub.
    The key fingerprint is:
    SHA256:dH/h0I/vQ56C5rRIC]bxEgxSRSGs2nVCdx+rasQk₩QU ieuser@MSEDGEWIN1O
    The key's randomart image is:
    +---[RSA 2048]----+
    | .OE*o           |
    | ..O . . .       |
    | + + = ..O       |
    | ..O             |
    |           ..O   |
    | + . 0           |
    |   =   =   =     |
    |      + = =      |
    | ..O         . 0 |
    +----[SHA256]-----|
    C:\ProgramData\checkmk\agent\plugins>

    .

  3.  Create the file 'authorized_keys' in C:\Users\<USERNAME>\.ssh\

    Code Block
    languagepowershell
    themeRDark
    fsutil file createnew authorized_keys 2000

    Put in the public key from the Checkmk Site User

...