Re: [Qemu-devel] ssh session with qemu-arm using busybox

2019-03-12 Thread Dongli Zhang
On 3/13/19 1:08 AM, Pintu Agarwal wrote: > On Tue, Mar 12, 2019 at 7:41 PM Suzuki K Poulose > wrote: >> >> >> >> On 12/03/2019 14:02, Pintu Agarwal wrote: -netdev user,id=unet,hostfwd=tcp::-:22 \ -net user \ and you 'll get guest's port 22 to be forwarded to hosts

Re: [Qemu-devel] ssh session with qemu-arm using busybox

2019-03-12 Thread Pintu Agarwal
On Tue, Mar 12, 2019 at 7:41 PM Suzuki K Poulose wrote: > > > > On 12/03/2019 14:02, Pintu Agarwal wrote: > >> > >> -netdev user,id=unet,hostfwd=tcp::-:22 \ > >> -net user \ > >> > >> and you 'll get guest's port 22 to be forwarded to hosts port , so > >> you can do > >> > >> ssh

Re: [Qemu-devel] ssh session with qemu-arm using busybox

2019-03-12 Thread Suzuki K Poulose
On 12/03/2019 14:02, Pintu Agarwal wrote: -netdev user,id=unet,hostfwd=tcp::-:22 \ -net user \ and you 'll get guest's port 22 to be forwarded to hosts port , so you can do ssh root@localhost: from the host. I tried many different options, but unfortunately none worked for

Re: [Qemu-devel] ssh session with qemu-arm using busybox

2019-03-12 Thread Pintu Agarwal
> > -netdev user,id=unet,hostfwd=tcp::-:22 \ > -net user \ > > and you 'll get guest's port 22 to be forwarded to hosts port , so > you can do > > ssh root@localhost: > > from the host. > I tried many different options, but unfortunately none worked for me. 1) qemu-system-arm -M

Re: [Qemu-devel] ssh session with qemu-arm using busybox

2019-03-11 Thread Nick Kossifidis
Στις 2019-03-11 16:34, Pintu Agarwal έγραψε: Hi, I have a qemu-arm setup with busybox which I normally use to test my kernel changes. I use this command to boot it: QEMU-ARM$ qemu-system-arm -M vexpress-a9 -m 1024M -kernel ../KERNEL/linux/arch/arm/boot/zImage -dtb

Re: [Qemu-devel] ssh session with qemu-arm using busybox

2019-03-11 Thread BALATON Zoltan
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

[Qemu-devel] ssh session with qemu-arm using busybox

2019-03-11 Thread Pintu Agarwal
Hi, I have a qemu-arm setup with busybox which I normally use to test my kernel changes. I use this command to boot it: QEMU-ARM$ qemu-system-arm -M vexpress-a9 -m 1024M -kernel ../KERNEL/linux/arch/arm/boot/zImage -dtb ../KERNEL/linux/arch/arm/boot/dts/vexpress-v2p-ca9.dtb -initrd rootfs.img.gz