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

Re: Persistent sshfs mount from inside a Buster virtual machine?



* On 2020 24 Apr 11:06 -0500, emetib wrote:
> nate,
> 
> my instructions are for system wide for kvm(qemu) not vbox.

Right, that is what I am working on too.

> when i look at your config file that you posted there is
> "ServerAliveCountMax=5". i've had looked at all the man files that i
> can think of and can't find anything like that.  don't know if it's a
> vbox command or what.  yet it seems suspicious to me.

It's SSH client option detailed in ssh_config(5).  It is likely wholly
unnecessary for this type of connection that only exists between the
guest and the host.  If that goes away it's likely there are more serious
problems!

> since i only have one user on each vm i don't really have to worry
> about the perms on the files.

If one is not careful the mounted directory can be assigned root's uid
and gid which causes problems for a normal user account in my
experience.

> sorry couldn't help more

I am grateful to the ideas you've provided.  I am actually now working
with a solution that is done via /etc/fstab that even systemd.mount(5)
states is the generally preferred approach.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819

Attachment: signature.asc
Description: PGP signature


Reply to: