VS Code USB deployment failing

Hi

We have successfully installed the new VS Code environment (lovely work, hats off to all involved).

Trying to do a USB deployment to robot, and getting:
admin @ 172.22.11.2: Resolved but not connected.
Reason: JSchException
Auth fail

We are able to connect the the RoboRio using IE to 172.22.11.2

I found this ticket on the GradleRio issue log, but not sure that it is relevant:

Any suggestions welcome.

Regards

David

hi All

Figured it out - there was a password on the admin account on the RoboRio. Removing that worked.

Which raises a second question - if there is a password, how do we configure the deployment?

Regards

David

My suggestion would be to remove the Admin password, and for those occasions when you need a passworded account (i.e. to read/write the filesystem) create a user account with admin privileges.

You should not use admin passwords on your RoboRIO, but if you choose to you can add the following to your RoboRIO target block in the build.gradle:


locations.all {
    password = "mY_s3cret_p4ssw0rd"
}

Note that your password will be in plaintext in your build.gradle.

Thanks Jaci

Not sure why there was a password on the Robo - we do not normally do it.

Regards

David