How to troubleshoot to SSH into instances

Overview

When you rerun job with SSH by following the instructions where you can get into the instance like below, you may not be able to get into the instance.

You can now SSH into this box if your SSH public key is added:
    $ ssh -p <port number> <IP address>

 

Confirm whether SSH keys are added

Unless you add SSH keys, you will not be able to rerun job with SSH. Please check if you've added SSH keys on the User Settings page.

 

Confirm which public key is used for access 

This issue can occur when the wrong public key is used for accessing the instance. Please check which public key is used first.

ssh -p <port number> <IP address> -v

You can see which public key has been used from the following log.

debug1: Offering public key: <public key file path> ED25519 <fingerprint> agent

If this is the case, you can SSH into the instance with a specific public key.

ssh -i <public key file path> -p <port number> <IP address> -v

 

Additional Resources:

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.