From: "Jörg Sommer" <joerg.sommer@navimatix.de>
To: yocto@lists.yoctoproject.org, xylopyrographer@gmail.com,
Marco Cavallini <koansoftware@gmail.com>
Subject: Re: [yocto] Cannot ssh into qemu guest
Date: Tue, 12 Mar 2024 12:12:34 +0100 [thread overview]
Message-ID: <9167b721-3780-40ec-a21e-ee36ea895257@navimatix.de> (raw)
In-Reply-To: <27822.1710010738640962284@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 telnet in to the VM itself by running (from within the VM):
> *
> telnet localhost 22*
>
> which returns:
> *Connected to localhost*
> *SSH-2.0-OpenSSH_9.5*
>
> So I think all is as it should be on the QEMU side of things?
If you pass the option `slirp` to runqemu, it forwards the ssh port to
2222 to the outside. Check with `ss -tlp`.
[1]:
https://docs.yoctoproject.org/dev/dev-manual/qemu.html#runqemu-command-line-options
Kind regards
Jörg Sommer
--
Navimatix GmbH
Tatzendpromenade 2
D-07745 Jena
Geschäftsführer: Steffen Späthe, Jan Rommeley
Registergericht: Amtsgericht Jena, HRB 501480
next prev parent reply other threads:[~2024-03-12 11:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-08 22:58 Cannot ssh into qemu guest Xylopyrographer
2024-03-09 8:41 ` [yocto] " Marco Cavallini
2024-03-09 8:42 ` Marco Cavallini
2024-03-09 18:58 ` Xylopyrographer
2024-03-09 19:05 ` Alexander Kanavin
2024-03-09 19:06 ` Khem Raj
2024-03-12 11:12 ` Jörg Sommer [this message]
2024-03-11 7:11 ` ChenQi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9167b721-3780-40ec-a21e-ee36ea895257@navimatix.de \
--to=joerg.sommer@navimatix.de \
--cc=koansoftware@gmail.com \
--cc=xylopyrographer@gmail.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).