def METHOD_NAME(self):
    with self.ssh_session_manager() as session:
        # Test shell launched as correct user
        username = self.get_command_output(session, "whoami")
        self.assertEqual(username.lower(), self.SSH_USER.lower())
        # Test USER env variable set
        user_var = self.get_command_output(session, "echo $USER")
        self.assertEqual(user_var.lower(), self.SSH_USER.lower())
        # Test HOME env variable set to true user home.
        home_env = self.get_command_output(session, "echo $HOME")
        pwd = self.get_command_output(session, "pwd")
        self.assertEqual(pwd, home_env)
        # Test shell launched in correct user home dir.
        self.assertIn(username, pwd)
        # Ensure shell launched with correct user's permissions and privs.
        # Can't read root owned 0700 files.
        output = self.get_command_output(
            session, f"cat {self.ROOT_ONLY_TEST_FILE_PATH}"
        )
        self.assertIn("Permission denied", output)