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

make.py install fails on MacOS #109

Open
justbill2020 opened this issue Feb 2, 2024 · 1 comment
Open

make.py install fails on MacOS #109

justbill2020 opened this issue Feb 2, 2024 · 1 comment

Comments

@justbill2020
Copy link

justbill2020 commented Feb 2, 2024

The result of attempting to install an SDK script on a device is the following:

Warning: Permanently added '192.168.0.1' (RSA) to the list of known hosts.
subsystem request failed on channel 0
scp: Connection closed```

I can check the status and do other things but not install the SDK script on the device I use for testing. It doesn't matter which device; I've tried several devices and models.

MacOS version: Ventura 13.5
@phate999
Copy link
Contributor

phate999 commented Feb 2, 2024

Hello,

MacOS Ventura 13 or newer disables RSA signatures. You can enable them by editing your SSH config.
Use a text editor like vi/vim to edit your SSH config (Typically this is ~/.ssh/config) and add the +ssh-rsa lines like this:

Host *
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa

Then you will need to add the -O option (force SCP) to the scp command in make.py on line 242:

cmd = 'sshpass -p {0} scp -O -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no {1} {2}@{3}:/app_upload'.format(

Then it should work. We are planning to add the "-O" to the code base.

Hope this helps!

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