Hi, I’m new and I’m going thru the getting started guide, and an stuck trying to get to get the example working, I’m using the ‘getting started’ guide for Node.js on Raspberry Pi 3
I’ve added the SSH key and I can see my Rasberry Pi 3 show up in the Resin control panel, but I’m unable to push the code to the device.
After going into the folder containing the ‘simple-server-node’ and setting up the remote, I do the ‘git push resin master’ command and get the following error:
$ git push resin master packet_write_wait: Connection to 18.104.22.168: Broken pipe fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Now after a bit of googling I found people had similar issues with git, I tried a verbose SSH connection:
$ ssh -vT firstname.lastname@example.org debug1: Host 'git.resin.io' is known and matches the ECDSA host key. debug1: Found key in /Users/codec/.ssh/known_hosts:25 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,keyboard-interactive debug1: Next authentication method: publickey debug1: Offering RSA public key: /Users/codec/.ssh/id_rsa debug1: Server accepts key: pkalg ssh-rsa blen 279 debug1: Authentication succeeded (publickey). Authenticated to git.resin.io ([22.214.171.124]:22). debug1: channel 0: new [client-session] debug1: Requesting email@example.com debug1: Entering interactive session. debug1: Sending environment. debug1: Sending env LANG = en_GB.UTF-8 packet_write_wait: Connection to 126.96.36.199: Broken pipe
So it looks like my SSH key is working but I still can’t connact to Resin.
I’m now pretty much stuck, I’m using a Macbook running OS X 10.11.6 but I can try using another Raspberry Pi (2) which is running Raspbian in order to see if it gives the same error?