Versions Compared

Key

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

Product Name

CIS-CAT Pro Assessor v4

Product Version

ALL

DateUse /date to insert current date



Problem

Info

Add a short description of the problem

Solution

CIS-CAT Ubuntu server (as user cis);

  1.  Generate rsa key in PEM format (no passphrase) ssh-keygen -t rsa -m PEM

  2.  Copy key to target system ssh-copy-id cis@3.133.121.21

  3.  Configure sessions.properties

session.2.type=ssh

session.2.host=3.133.121.21

session.2.user=cis

session.2.identity=/home/cis/.ssh/id_rsa

session.2.port=22

session.2.tmp=/var/tmp 

Target Ubuntu server (3.133.121.21)

  1.  Add user cis as member of sudoers group sudo usermod -aG sudo chris

  2.  Check that chris is in the sudoers group id

  3. cis

  4. Edit /etc/sudoers and add this line so user chris cis will NOT be prompted for a password when sudoing.; chris ALL=(root) NOPASSWD:ALL

chris

cis ALL=(root) NOPASSWD:ALL

 Test

CIS-CAT connection Test

connection from CIS-CAT server to target

$ sudo ./Assessor-CLI.sh -test

------snip-------

Attempting to load the default sessions.properties, bundled with the application.

Obtaining session connection --> chris@3cis@3.133.121.21:22

Connection established.  Test Successful; Disconnecting.

Exit Code 0

Keywords;

Content by Label

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "sbp_fer"

Copyright © 2020

Center for Internet Security®


Page Properties
hiddentrue

Action

Name(s)

Date

Linked ticket

Created by

Reviewed by

Approved by

Remove by