Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions