First time spinning up a resin app. When running git push resin master I get the error:
None of the supplied SSH keys matched a known key for user <username>
Known ssh key fingerprints for <username>:
<key1>
<key2>
Please make sure you've configured your keys correctly.
http://docs.resin.io/getting-started/#adding-an-ssh-key
The keys that get spit out in the error message match those in my github ssh settings. Tried the automated pull from github of the keys and also yanked them from my machine and pasted them in, but still no luck.
Not that I think it would be the issue here, but have a VPN and also made sure that was shut down.
Also tried to ssh into the Pi this morning with no luck. Got the following error.
$ resin ssh <my-uuid>
Connecting with: <connection-code>
ResinRequestError: Request error: App not found
I am logged into the CLI and the app is listed as “Online” in the resin.io portal.
Hi! If you are doing a git push, the keys that matter are the ones on your local machine. Also, not just having the keys, but your machine has to offer those keys up to the remote endpoint when connecting to git.resin.io. I’m guessing this later part does not happen.
What platform are you on (Linux, Mac, Windows)?
I personally set up this entry in .ssh/config (on Linux, should be similar directory on other platforms too), to explicitly offer the specific key that you’ve added to the dashboard.
for example (as it is common to have the id_rsa key):
Host git.resin.io
IdentityFile .ssh/id_rsa
x x x
As for the resin ssh, that one connects not into your Pi, but into the running container of your application. Since there’s no application deployed on the device, there’s nothing to ssh into yet. Once there’s a running container, you can use resin ssh or the web terminal to connect there. The host OS is not accessible with resin ssh.
@ramstein74 how did you add your ssh key to your resin account?
We generally recommend you work through this guide, check you can push to GitHub and then add your keys to your resin account, at which point you should be able to push to resin.
it automatically imported my key from github but when i use my pc console i get that error…
user gh_ramstein74 was created automatically by resin and my github username is ramstein74
If the key is imported from your github, then the question still remains, is that key available on your local machine? What Git software you use on Windows to try to push?
@ramstein74 sorry, not explained myself very clear. This git you are using, where was it installed from, is it the one on Git for Windows, or Github Desktop, or something else? The different ways of getting git will store the ssh keys differently on the machine (this is unfortunate for Windows, because on Mac and Linux it’s more uniform), and would need to know to be able to advise you. What Windows version are you using?
my app1 was not created on github yet so
I created it and pushed it
git remote add origin https://github.com/ramstein74/app1.git
then
git push origin master
i got a popup asking username and password , then it successfully was pushed.
Just a quick notice. I dont have a password set in my id_rsa.pub …