Re: [yocto] Cannot ssh into qemu guest

2024-03-12 Thread Jörg Sommer via lists . yoctoproject . org
On 09.03.24 19:58, Xylopyrographer via lists.yoctoproject.org wrote: > Thanks for the reply. > > Still a bit green with all this but from the QEMU VM, *sshd* is running > and port 22 is open. > > Checked by running: > *ps aux | grep sshd > *and > *netstat -plant | grep :22 > > *as well, I can

Re: [yocto] Cannot ssh into qemu guest

2024-03-11 Thread Chen Qi via lists.yoctoproject.org
I'd suggest that in the serial console you get: 1) check the ip address of the booted target 2) Run 'ssh root@localhost' on that target to check if login onto itself is OK 3) If you can ssh locally and the ip is 192.168.7.2, and you still have problem with 'ssh root@192.168.7.2', maybe you need

Re: [yocto] Cannot ssh into qemu guest

2024-03-09 Thread Khem Raj
See if you have debug-tweaks in IMAGE_FEATURES you can easily check it with bitbake-getvar IMAGE_FEATURES -r core-image-full-cmdline On Sat, Mar 9, 2024 at 10:59 AM Xylopyrographer wrote: > > Thanks for the reply. > > Still a bit green with all this but from the QEMU VM, sshd is running and >

Re: [yocto] Cannot ssh into qemu guest

2024-03-09 Thread Alexander Kanavin
Can you start runqemu without the nographic option, and copy-paste what it prints? There are clues as to how it sets up networking in there. Alex On Sat, 9 Mar 2024 at 19:59, Xylopyrographer wrote: > > Thanks for the reply. > > Still a bit green with all this but from the QEMU VM, sshd is

Re: [yocto] Cannot ssh into qemu guest

2024-03-09 Thread Xylopyrographer
Thanks for the reply. Still a bit green with all this but from the QEMU VM, *sshd* is running and port 22 is open. Checked by running: *ps aux | grep sshd * and *netstat -plant | grep :22 * as well, I can telnet in to the VM itself by running (from within the VM): * telnet localhost 22* which

Re: [yocto] Cannot ssh into qemu guest

2024-03-09 Thread Marco Cavallini
On Sat, Mar 9, 2024 at 09:41 AM, Marco Cavallini wrote: > > In *local.conf* add > *EXTRA_IMAGE_FEATURES = "ssh-server-openssh"* > -- > Marco or better *EXTRA_IMAGE_FEATURES += "ssh-server-openssh" * -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

Re: [yocto] Cannot ssh into qemu guest

2024-03-09 Thread Marco Cavallini
In *local.conf* add *EXTRA_IMAGE_FEATURES = "ssh-server-openssh"* -- Marco -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62712): https://lists.yoctoproject.org/g/yocto/message/62712 Mute This Topic:

[yocto] Cannot ssh into qemu guest

2024-03-08 Thread Xylopyrographer
I've built a QEMU quemuarm64 core-image-full-cmdline machine. Runs fine.  I'm launching it with: *runqemu qemuarm64 nographic* Now trying to figure out how to ssh into it. The book I'm following simply states: "You can SSH into this VM with *ssh root@192.168.7.2* " A bit later, going through