From 600716713473b51967bb1e7e052e4a73324d9ec2 Mon Sep 17 00:00:00 2001 From: Jorge Correa <115737746+jorgencorrea@users.noreply.github.com> Date: Wed, 9 Oct 2024 17:29:14 -0300 Subject: [PATCH] Added -O to the scp command Since OpenSSH 9.0, the client uses SFTP protocol by default. To use the legacy protocol, the -O option must be specified. --- docs/duo/application-development/wiringx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/duo/application-development/wiringx.md b/docs/duo/application-development/wiringx.md index 5de581a4..4b95c7a9 100644 --- a/docs/duo/application-development/wiringx.md +++ b/docs/duo/application-development/wiringx.md @@ -320,7 +320,7 @@ You can also use Ubuntu installed in a virtual machine, Ubuntu installed via WSL ``` After the compilation is successful, send the generated `helloworld` executable program to the Duo device through the network port or the USB network. For example, the USB-NCM method supported by the [default firmware](https://github.com/milkv-duo/duo-buildroot-sdk/releases), Duo’s IP is 192.168.42.1, the user name is `root`, and the password is `milkv`. ``` - scp helloworld root@192.168.42.1:/root/ + scp -O helloworld root@192.168.42.1:/root/ ``` After sending successfully, run `./helloworld` in the terminal logged in via ssh or serial port, and it will print `Hello, World!` ```