Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-13818

[BUG][ILT][Images][RH415][SSH] - Fix ILT Server Images for the RH415 Course to Allow SSH with Password

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • RH415 - RHEL9.2-en-2-20240306
    • RH415
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 2
    • ILT
    • Hide

      Attempt to SSH from any machine (other than workstation) that doesn't have an SSH key to another machine and it will fail

      Show
      Attempt to SSH from any machine (other than workstation) that doesn't have an SSH key to another machine and it will fail
    • en-US (English)
    • Customer Facing, Customer Reported

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh415-9.2/pages/ch01s06
      Reporter RHNID: rhn-gps--tmichett
      Section Title:     h2. Guided Exercise: Implementing Recommended Security Practices
                                                                          

      Issue description

      Specifically the SERVERB system isn't accessible using SSH via Username/Password combination. Looking at the images with Guestfish, the /etc/ssh/sshd_config file has been updated to not allow password authentication. This is a different behavior than what is in the RHLS/ROL/VT images which allows password access. This causes the lab to fail.

      I have created a playbook work-around for instructors for ILT courses (https://github.com/RHCInstructorTeam/RHCI_Infrastructure/blob/master/Ansible/Foundation/RH415v9/Fix_ServerB_SSH.yml) but this isn't accessible to all and only fixes the SERVERB SSH.

       

      Steps to reproduce:

      Setup ILT course and attempt to do the guided exercise as written. It prevents connection from ServerA or any other server because SSH keys don't exist and the password isn't accepted.

      Workaround:

      Run the playbook from Foundation Tarball on ServerB

      (https://github.com/RHCInstructorTeam/RHCI_Infrastructure/blob/master/Ansible/Foundation/RH415v9/Fix_ServerB_SSH.yml)

       

      or have students open the console or SSH from workstation to the servers and update the /etc/ssh/sshd_conf file to allow passwords.

       

      PasswordAuthentication yes

      Expected result:

      Can SSH with password from any system.

            rht-aglogowski Artur Glogowski
            rhn-gps--tmichett Travis Michette
            Steven Bonneville
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: