Skip to content

Update SSH_Login.exp to check fingerprint when prompted to accept #2

@JonZeolla

Description

@JonZeolla

Currently, if the script is prompted to accept a fingerprint (here), the script blindly accepts it and takes no additional action. It should run ssh-keygen -l -f /etc/ssh/ssh_host_rsa_key and compare it against the initial fingerprint, then if it matches, continue, if it doesn't, abort and alert the user.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions