me-no-dev / RasPiArduino

Arduino Framework for RaspberryPI
336 stars 75 forks source link

Type board password to upload a new sketch #104

Open gspitman opened 5 years ago

gspitman commented 5 years ago

Getting the above prompt from Arduino ide,

I enter my root "pi user" password but the prompt returns. Any ideas?

doitandbedone commented 4 years ago

I am also having trouble when authenticating, the root password works when connecting directly to SSH however. Here are the logs: processing.app.debug.RunnerException at cc.arduino.packages.uploaders.SSHUploader.uploadUsingPreferences(SSHUploader.java:150) at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77) at processing.app.SketchController.upload(SketchController.java:732) at processing.app.SketchController.exportApplet(SketchController.java:703) at processing.app.Editor$UploadHandler.run(Editor.java:2055) at java.lang.Thread.run(Thread.java:748) Caused by: com.jcraft.jsch.JSchException: invalid privatekey: [B@24590fc4 at com.jcraft.jsch.KeyPair.load(KeyPair.java:620) at com.jcraft.jsch.KeyPair.load(KeyPair.java:542) at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40) at com.jcraft.jsch.JSch.addIdentity(JSch.java:389) at com.jcraft.jsch.JSch.addIdentity(JSch.java:349) at com.jcraft.jsch.Session.applyConfig(Session.java:2665) at com.jcraft.jsch.Session.(Session.java:166) at com.jcraft.jsch.JSch.getSession(JSch.java:256) at com.jcraft.jsch.JSch.getSession(JSch.java:208) at cc.arduino.packages.ssh.SSHConfigFileSetup.setup(SSHConfigFileSetup.java:64) at cc.arduino.packages.uploaders.SSHUploader.uploadUsingPreferences(SSHUploader.java:117) ... 5 more

Running macOS 10.15.6