Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type board password to upload a new sketch #104

Open
gspitman opened this issue Nov 17, 2019 · 1 comment
Open

Type board password to upload a new sketch #104

gspitman opened this issue Nov 17, 2019 · 1 comment

Comments

@gspitman
Copy link

Getting the above prompt from Arduino ide,

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

@doitandbedone
Copy link

doitandbedone commented Aug 26, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants