Skip to content

SSH Key Setup and Configuration for Passwordless LoginΒ #1125

@Premas

Description

@Premas

What would you like to see added?

SSH key authentication was failing on Cheaha, causing password prompts for both SSH and Open OnDemand (OOD) shell access. The issue was resolved by adding the ECDSA public SSH key to authorized_keys on login006:

cat ~/.ssh/id_ecdsa.pub >> ~/.ssh/authorized_keys

Write-up to be Added

Client-side setup (PC):

  1. How to generate SSH keys (e.g., ssh-keygen -t ecdsa)

  2. Adding the private key to the SSH agent (ssh-add ~/.ssh/id_ecdsa)

Server-side setup (Cheaha):

  1. Adding the public key to ~/.ssh/authorized_keys on login006

  2. Setting correct permissions: For instance,
    ~/.ssh/authorized_keys β†’ 600

Where to add this?

https://docs.rc.uab.edu/cheaha/getting_started/

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions