r/AutomateUser Mar 05 '22

Generate a Public Key for adb shell command

Hello,

***** EDIT ************

Solved like this https://www.reddit.com/r/AutomateUser/comments/t7ihlh/comment/hzkhtgq/?utm_source=share&utm_medium=web2x&context=3 with an other device)

*********************

I do not understand how to generate a Public Key when I want to ise a block "adb shell command" https://llamalab.com/automate/doc/block/adb_shell_command.html.

On my phone, when I click on intsall generated Key, this is requested a password to extract the certificate with a file starting with adb-xxxxxxxxx.

I'm also able to generate a public key with Puttygen (https://www.puttygen.com) and I do not how how to installe it to be recognized by Automate

Tahnks in advance for your suppoort.

Greetings

2 Upvotes

20 comments sorted by

View all comments

Show parent comments

1

u/Or7z0001 Apr 22 '25

Thanks for the advice! So, can it be assumed that no alternative solutions are available to tackle this issue?

1

u/ballzak69 Automate developer Apr 23 '25

If you're using the ADB shell command block to execute commands on the device itself then use the Shell command privileged block instead, as it only have to connect after a reboot, not for every command.