---
title: Troubleshooting SSH issues
description: Most SSH issues can be resolved by rerunning the installation package or reverting to a previous system state.
component: pingid
page_id: pingid:pingid_integrations:pid_troubleshooting_ssh_issues
canonical_url: http://docs.pingidentity.com/pingid/pingid_integrations/pid_troubleshooting_ssh_issues.html
revdate: January 28, 2024
section_ids:
  steps: Steps
  choose-from: Choose from:
---

# Troubleshooting SSH issues

Most SSH issues can be resolved by rerunning the installation package or reverting to a previous system state.

## Steps

1. If you installed from the binary package, and got the following error response, `The method driver /usr/lib/apt/methods/https could not be found from apt-get - install apt-transport-https`, then rerun using the following command: `sudo apt-get install apt-transport-https`

2. If you installed and integrated PingID with SSH, but users are unable to authenticate successfully, revert to the system state prior to the PingID SSH installation.

   ### Choose from:

   * If your installation is on a physical machine:

   * If you have kept an open session with root permissions, use that session.

   * If you do not have an open session, you must access the machine to open a local root console session.

   * If your installation is a virtual machine (VM), you should open a root console session in the VM control console.

     1. Restore the changed `sshd_config` and `authorized_keys` files, (for PAM, also the `system-auth`, `common-auth` or`pam.conf` files) to their state before the PingID installation, or reverse the entries in the configuration files according to the changes that you applied, depending on your operating system and the PAM or ForceCommand options.

     2. Restart the sshd service:

        For all systems except Solaris, `service sshd restart`

        For Solaris systems: `svcadm restart ssh`
