Remote programming a chipKIT Pi

keithsloan52
Posts: 30
Joined: Mon Dec 28, 2015 5:51 pm

Re: Remote programming a chipKIT Pi

Post by keithsloan52 » Wed Feb 17, 2016 9:41 am

I note that if I leave my Pi powered off. I get a Connection Exception timed out at the same place as when its powered on but with the com.jcraft.jsch.JSchException : Algorithm negotiation fail.

Looking at the board.txt file I assume its trying to do the scp copy command at this time to move the hex file to the pi.

Could it be that the Algorithm negotiation fail is due to an incompatibility with the Jessie version of sshd

User avatar
majenko
Site Admin
Posts: 2164
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Remote programming a chipKIT Pi

Post by majenko » Wed Feb 17, 2016 11:45 am

Unlikely to be an incompatibility, no, since I was using it yesterday with the latest image off the Raspberry site.

You can right-click on the console to copy. It should pop up a menu with "Copy" and "Copy All" in it. The latter will copy the whole content of the console to the clipboard without needing to select anything.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

User avatar
majenko
Site Admin
Posts: 2164
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Remote programming a chipKIT Pi

Post by majenko » Wed Feb 17, 2016 11:47 am

Actually, since you're on OS X you can completely bypass the whole builtin SSH/SCP if you like.

1. Set up public key login to the "ckpi" account
2. Remove "__builtin_" from the scp and ssh commands

It should then use the system scp and ssh commands to do the work for you instead. You need the public key login setting up because there is no way for you to enter a password otherwise.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

keithsloan52
Posts: 30
Joined: Mon Dec 28, 2015 5:51 pm

Re: Remote programming a chipKIT Pi

Post by keithsloan52 » Wed Feb 17, 2016 9:34 pm

majenko wrote:Unlikely to be an incompatibility, no, since I was using it yesterday with the latest image off the Raspberry site.

You can right-click on the console to copy. It should pop up a menu with "Copy" and "Copy All" in it. The latter will copy the whole content of the console to the clipboard without needing to select anything.
Does not work on the Mac. Just ignores the clicks

keithsloan52
Posts: 30
Joined: Mon Dec 28, 2015 5:51 pm

Re: Remote programming a chipKIT Pi

Post by keithsloan52 » Wed Feb 17, 2016 10:13 pm

majenko wrote:Actually, since you're on OS X you can completely bypass the whole builtin SSH/SCP if you like.

1. Set up public key login to the "ckpi" account
2. Remove "__builtin_" from the scp and ssh commands

It should then use the system scp and ssh commands to do the work for you instead. You need the public key login setting up because there is no way for you to enter a password otherwise.
Okay got this working after I found I had to do a refresh of things to do a new scan to pick up changes in the board.txt file.

Post Reply