Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where does the thumbprint come from? #1

Open
srossross opened this issue Jul 2, 2014 · 2 comments
Open

Where does the thumbprint come from? #1

srossross opened this issue Jul 2, 2014 · 2 comments

Comments

@srossross
Copy link

Thanks for posting these notebooks publicly.

In Tutorial 1 (nbview) you reference thumbprint and authorized_keys. The comments above show how you generate myPrivateKey.key, myCert.pem and myCert.pfx keys but do not mention these items.

I am having trouble reproducing this step. Could you post how you generated them?

Thanks

@lee212
Copy link
Owner

lee212 commented Jul 2, 2014

Thank you for your interest.

Short answers for generating two files are:
thumbprint: openssl x509 -in myCert.pem -fingerprint -noout|cut -d"=" -f2|sed 's/://g'> thumbprint
authorized_keys: ssh-keygen -f myPrivateKey,key -y >> ~/.ssh/authorized_keys

I also updated the tutorial with these commands.

@srossross
Copy link
Author

Thanks that works, the VM has been created successfully. However when I try to ssh into the machine with:

ssh  -i myPrivateKey.key  [email protected]

I get:

Permission denied (publickey).

full ssh log here

I expected this to work. Do you know what the issue is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants