9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ryan Gonzalez <rymg19@gmail.com>
To: Nils M Holm <nmh@t3x.org>
Cc: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] ftpfs shows empty /n/ftp after login
Date: Thu, 25 Jun 2015 17:01:44 -0500	[thread overview]
Message-ID: <CAO41-mPS5LQHkGCCvtjbUUSHFsMXTC8K5AiOYoVXjGmwu-7ACA@mail.gmail.com> (raw)
In-Reply-To: <20150625195757.GB2779@ananda.local>

[-- Attachment #1: Type: text/plain, Size: 1838 bytes --]

On Thu, Jun 25, 2015 at 2:57 PM, Nils M Holm <nmh@t3x.org> wrote:

>
> On 2015-06-25T13:09:00-0500, Ryan Gonzalez wrote:
> > FYI, for what it's worth, I usually use SSH to sync files between
> > my Linux laptop and my Plan 9 VM.
>
> Thanks for the suggestion! Care to give me a short introduction to
> ssh on Plan 9? I normally avoid ssh like the plague, so I assume I
> know nothing about it.
>
>
I don't use FreeBSD, so this might be slightly wrong. :)

Sources:

https://www.freebsd.org/doc/handbook/openssh.html
http://plan9.bell-labs.com/wiki/plan9/connecting_to_other_OSes/index.html

You want to do this in FreeBSD:

- Edit /etc/rc.conf and check if this line is present:

    sshd_enable="YES"

  If it isn't, add it.

- Edit /etc/ssh/sshd_config and add the following lines:

    Protocol 2,1
    HostKey /etc/ssh/ssh_host_key
    AllowUsers username@plan9_machine_ip_address

- Run:

    ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key
    chmod 644 /etc/ssh/ssh_host_key


That's the setup. Now, whenever you want to access your machine's files
from Plan 9, run this on FreeBSD:

    service sshd start

And on Plan 9:

    ssh username@bsd_machine_ip_address

Type 'yes' at any prompts that pop up.


> > Also, last time I tried, VirtualBox was a bit faster in emulating
> > Plan 9 than QEMU, especially without KVM.
>
> VirtualBox is much faster on my machine, but I don't manage to
> set up any network connections at all. NIC is recognized, but
> ip/ipconfig hangs and after configuring manually, not even ip/ping
> works. So I'll stick to QEMU for now.
>
> --
> Nils M Holm  < n m h @ t 3 x . o r g >  www.t3x.org
>



-- 
Ryan
[ERROR]: Your autotools build scripts are 200 lines longer than your
program. Something’s wrong.
http://kirbyfan64.github.io/

[-- Attachment #2: Type: text/html, Size: 3557 bytes --]

  reply	other threads:[~2015-06-25 22:01 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-25 17:25 Nils M Holm
2015-06-25 18:09 ` Ryan Gonzalez
2015-06-25 19:57   ` Nils M Holm
2015-06-25 22:01     ` Ryan Gonzalez [this message]
2015-06-25 18:28 ` Bakul Shah
2015-06-25 19:51   ` Nils M Holm
2015-06-25 20:16     ` Bakul Shah
2015-06-25 20:29       ` Nils M Holm
2015-06-26  8:22       ` Nils M Holm
2015-06-26  8:24         ` Mark van Atten
2015-06-26  9:32           ` Nils M Holm
2015-06-26 10:00             ` David du Colombier
2015-06-27  9:11               ` Nils M Holm
2015-06-27  9:54                 ` David du Colombier
2015-06-27 20:24                   ` Nils M Holm
2015-06-29 18:04                     ` Nils M Holm
2015-06-26  8:29         ` Nils M Holm
2015-06-26  8:52           ` Bakul Shah
2015-06-26  9:44             ` Nils M Holm
2015-06-26 13:57               ` fgergo
2015-06-25 19:00 ` Steve Simon
2015-06-26  9:41 ` Nils M Holm

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=CAO41-mPS5LQHkGCCvtjbUUSHFsMXTC8K5AiOYoVXjGmwu-7ACA@mail.gmail.com \
    --to=rymg19@gmail.com \
    --cc=9fans@9fans.net \
    --cc=nmh@t3x.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 NNTP newsgroup(s).