Comments (5)
I fixed this issue for my custom buildroot by mounting the finished image, opening up /etc/shadow
, making a new password hash with openssl passwd -1 "milkv"
, and pasting the output hash between the first two colons after root
in the file.
On the other hand, you can also use serial to automatically login and change the password. That's described here!
from duo-buildroot-sdk.
@onkoe Thank you for your experience, it really helps.
I login milkv successfully now by serial and change the password of "root". Unfortunately, I still can't login by SSH on my Debian machine. But I login in "root" successfully with SSH on Windows Powershell, which makes me confused...
I checked the version of SSH on duo, it's Dropbear v2020.81
, while the SSH version on my Debian machine is OpenSSH_9.2p1 Debian-2+deb12u1, OpenSSL 3.0.11 19 Sep 2023
. Problems may arise here.
from duo-buildroot-sdk.
Glad it helped! Let’s see if we can get this fixed. 😄
In your ~.ssh/authorized_keys
file, is there an existing entry for the Duo’s IP? If so, try removing it!
Otherwise, what seems to be the issue? Does it not connect at all, or is the password just not working?
from duo-buildroot-sdk.
Glad it helped! Let’s see if we can get this fixed. 😄
In your
~.ssh/authorized_keys
file, is there an existing entry for the Duo’s IP? If so, try removing it!Otherwise, what seems to be the issue? Does it not connect at all, or is the password just not working?
I have removed the authorized_keys. The issue is that the password just not working. Although I input correct password again and again...
from duo-buildroot-sdk.
I think I found some clues about the problem. I used ssh -vvv [email protected]
on my Debian machine and my Windows10 machine, part of the difference of the result is shown below:
Debian 12 (Can not login duo)
debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u1
debug1: Remote protocol version 2.0, remote software version OpenSSH_9.2p1 Debian-2+deb12u1
Windows10 (Successfully login duo)
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_8.1
debug1: Remote protocol version 2.0, remote software version dropbear_2020.81
It seems that OpenSSH_9.2p1 Debian-2+deb12u1
can't recognise the correct SSH version of milkv-duo.
from duo-buildroot-sdk.
Related Issues (20)
- Empty Partition HOT 3
- Persistent RNDIS MAC addresses - Solution HOT 1
- Kernel CPU load average math is messed up!
- 更新到duo 1.0.5后,开机lcd点亮后遇到usb启动,lcd就息屏 HOT 1
- Build Failure make: *** [scripts/fip_v2.mk:32: fsbl-build] Error 2 HOT 2
- How can I read 7bytes in a row with wiringx HOT 1
- Random MAC Address on every boot HOT 1
- 如何使Linux使用2个内核? HOT 1
- H26x Not supported by this SDK HOT 1
- Unable to login through SSH HOT 1
- Please use make savedefconfig to create the _defconfig file instead of copying .config. HOT 1
- CONFIG_RTL8821CS does not produce anything.
- apt-get: not found HOT 1
- 我如何运行别的risc-v操作系统 HOT 2
- no RNDIS on milkv duo 64MB Ram HOT 11
- freertos\cvitek\hal\cv180x\i2c\src\hal_dw_i2c.c的796行IC3_INTR是不是要改成I2C3_INTR呀?
- How do I access the kernel configuration in the build root HOT 2
- Build fail: make: *** [Makefile:584: br-rootfs-pack] Error 2 HOT 12
- time commend not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duo-buildroot-sdk.