[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ttylinux] noobie on ttylinux - using putty to ssh from win 7 host to ttylinux in qemu

On 10/24/14 12:30, Paul Gydos wrote:
I found ttylinux in my quest to find a command line linux to learn some
of the basics of vi, and the command line in a virtualized environment.
I've only been using ttylinux for a few days and I've really enjoyed it.
Thank You!

I managed to deploy ttylinux virtio i486 in QEMU using the default
qemu-system-i386 and was able to figure out how to make a persistent
install on a .qcow drive which I prepared using ttylinux-installer
applied to a qcow image I prepared using a Gparted Live CD running in
Virtualbox (made a Partition Table, an ext3 partition with a boot flag).

I deployed this virtualized and persistent ttylinux on a Win7 32bit
machine and now I'm hoping to SSH into it from my Windows Host using
Putty into the QEMU Virtualized ttylinux Guest.
I'll be more help in a few days when I get
things running; I am without a few tools
right now.

I've not used qemu much, and not at all the
way you have...

You need to start ttylinux with a boot
parameter "enet" and maybe "host=name",

     ttylinux enet host=name.domain.com

The default is that it will use DHCP on startup
and get an IP address from your modem/router
just like your Windows computer does.

I use VirtualBox. It is much easier to use.

Start with what I just wrote, and I'll help
you through any part as well as I can. Then the
next part will be:

The hard part probably will be getting qemu
to give you a bridged network interface, not NAT,
because that will be on the same network as
your Windows computer and then you can SSH to it.

I have read section 4.5 of the ttylinux documentation and whatever else
I could find using the goog and I can seem to get anywhere - I'm really
new to everything I'm doing and I need it all explained to me with the
assumption that I have some kind of minimal brain function.

To give you an idea of where my abilities lie - it has taken a number of
months of most of my attention to figure out how to deploy QEMU on my
machine and learn its basics, to make a persistent install on a virtual
hard drive of a very small command line linux. So I need hand holding.
Here is some more information about what I've tried to understand so far.

I usually use something this command to launch ttylinux from the
appropriate directory

qemu-system-i386 -hda my_own_ttylinux.qcow

do I need to launch qemu with certain criteria? trying to get dropbear
help using

dropbear --help | more

doesn't seem to pipe it into more because it scrolls to the last page

if I'm generating a key with

dropbearkey -t rsa -f ~/.ssh/id_rsa.db

then I can't tell because it scolls out fast to the same last page of the help options and I can't

see if there was any output and cat ~/.ssh/id_rsa.db shows no file there

I found a file at /root/ssh-host-rsa-key.pub that would seem to be what I'm really looking for? but I don't know - I'm looking through Putty settings and I don't know where I would put a public key code

or if that file has the key in it which part of what I read when I cat ssh-host-rsa-key.pub is the key anyway, if I even have the right file.

I'm completely lost. Is my host name going to be ???

Thank You for your help in advance,

Paul Gydos

You received this message because you are subscribed to the Google
Groups "ttylinux" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.