Kernel Newbies archive on
 help / color / Atom feed
From: BALATON Zoltan <>
To: Pintu Agarwal <>
	"open list" <>,
	전진영 <>,,
Subject: Re: [Qemu-devel] ssh session with qemu-arm using busybox
Date: Mon, 11 Mar 2019 20:33:39 +0100 (CET)
Message-ID: <> (raw)
In-Reply-To: <>

On Mon, 11 Mar 2019, Pintu Agarwal wrote:
> I am sure, many of you people would have explored already "how to use
> ssh over qemu" and found a easy method.
> So, if anybody have easy setup please share with me.
> I could see that after adding "ip=dhcp" I get the eth0 interface like this:
> / # ifconfig
> eth0      Link encap:Ethernet  HWaddr 52:54:00:12:34:56
>          inet addr:  Bcast:  Mask:
>          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:1180 (1.1 KiB)  TX bytes:1180 (1.1 KiB)
>          Interrupt:22
> lo        Link encap:Local Loopback
>          inet addr:  Mask:
>          UP LOOPBACK RUNNING  MTU:65536  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> But I could not ping it from ubuntu PC.

This should already be documented here:

The default QEMU network is -net user slirp based networking that provides 
outbound connectivity from the virtual machine but no ping or inbound 
connections. I.e. you can ssh from your guest to your host (so you could 
use scp in your guest to copy files from your host) or use some other 
networking (such as tap) that allows the host to connect to guest (but 
then you'll need to arrange routing and dhcp if you want that on your 
host otherwise your guest will only see your host). Hope this helps.


Kernelnewbies mailing list

      parent reply index

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-11 14:34 Pintu Agarwal
2019-03-11 18:28 ` Nick Kossifidis
2019-03-12 14:02   ` Pintu Agarwal
2019-03-12 14:11     ` Suzuki K Poulose
2019-03-12 17:08       ` Pintu Agarwal
2019-03-12 23:12         ` [Qemu-devel] " Dongli Zhang
2019-03-11 19:33 ` BALATON Zoltan [this message]

Reply instructions:

You may reply publically 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Kernel Newbies archive on

Archives are clonable:
	git clone --mirror kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ \
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox