mssun / passforios

Pass for iOS - an iOS client compatible with Pass command line application.
https://mssun.github.io/passforios
MIT License
1.5k stars 102 forks source link

Unable to clone repo #586

Open iiKovu opened 1 year ago

iiKovu commented 1 year ago

I keep getting this error, even though I already tried using a normal SSH key and a PEM one. Also tried using PuTTYGen. Nothing worked. image

apfohl commented 1 year ago

I think the easiest way to create an SSH key pair is ssh-keygen. You can create an RSA key pair with: ssh-keygen -b 4096.

Recently though I saw a shift in OpenSSH that some Linux distributions removed RSA from the allowed methods. So better sit with a more modern method like ed25519. You can create such pair with: ssh-keygen -t ed25519.

I hope this helps.

iiKovu commented 1 year ago

I think the easiest way to create an SSH key pair is ssh-keygen. You can create an RSA key pair with: ssh-keygen -b 4096.

Recently though I saw a shift in OpenSSH that some Linux distributions removed RSA from the allowed methods. So better sit with a more modern method like ed25519. You can create such pair with: ssh-keygen -t ed25519.

I hope this helps.

Already tried that, even with -PAM at the end, but it didn't work :/. Thank you very much though!

maximxmoroz commented 1 year ago

You enter your public key in the SSH key field, but you need a private one

maximxmoroz commented 1 year ago

You need a private one just to use it in the Pass for iOS app, not a public one

iiKovu commented 1 year ago

You need a private one just to use it in the Pass for iOS app, not a public one

How do I import the private one to my phone?