Arduino IDE board password request when uploading via scp

Hi,

I'm trying to upload a sketch to my Arduino Yun via WIFI.
I can ssh as root without password (keys) to the Yun and I have .ssh/config configured as well for both the IP address and arduino.local.

➜  ~ ssh root@192.168.0.29                                                                                                                                                                                                 13:19 19/07/2017


BusyBox v1.19.4 (2014-11-13 19:03:47 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------


root@Arduino:~#

When I try to upload via WIFI I'm prompted for a "board password"; I tried with the only password I know, root, and that doesn't work.
I tried with and without .ssh/config in place with same results.

I'm running the IDE on OSX, version 1.8.3. I tried the hourly builds with the same results.
Tried also upgrading firmware to latest with no luck.

I spent some time going through the java code of the IDE but I haven't quite figured out where this prompt comes from and to which password it refers to.

Attached a screenshot of the prompt.

Any help is much appreciated since I'm kind of stuck and it'd be a pity to have to use a USB cable :confused:

Thanks!!!
G.

probes (91.8 KB)

(deleted)

Depending on when you bought your board, the default password could also be "doghunter".

1 Like

It should be the same password you use to log onto the Yun's configuration web pages - the pages you get when you point your web browser to your Yun, http://192.168.0.29 using the address from your ssh output.

When new, your Yun had a default password like arduino or doghunter. You likely changed it when going through the initial setup process - if so, that's the password you need to use.

You may have changed your ssh configuration to not need a password (not necessarily a good idea) but that is likely to only affect ssh, and not the configuration web pages or sketch upload process.