On Wednesday 16 May 2018 at 14:05:38, 'ben wyatt' via Vagrant wrote:
> What I would like to do:
>
> 1. Download minimal/centos7
>
> 2. Update yum, install python-pip & ansible, update vboxguestadditions
>
> 3. Package
>
> 4. Upload to share site
>
> 5. User downloads and does NOTHING apart from 'vagrant up' and 'vagrant
> ssh', no ssh-keygen shenanigans or downloading the public insecure key
>
>
> I can do all of the above – but then the ssh issue rears its ugly head and
> renders the whole concept unusable. The user has to think – which is not
> what I want. All I want is vagrant ssh and they are in. No password or
> anything – do you know how to do this?
I think you're failing to consider what the first S in SSH stands for.
I believe it is not possible to configure SSH to allow access without either a
password or a public key.
This is a feature (not a bug) of SSH, and is really nothing to do with
Vagrant.
Can you think of any other virtualisation / containerisation / similar system
which allows you to access the virtual / container / machine without any form
of authentication?
My final comment is that if "the user has to think - which is not what I want",
what sort of users are you giving access to your CentOS machines?
Antony.
--
Schrödinger's rule of data integrity: the condition of any backup is unknown
until a restore is attempted.
Please reply to the list;
please *don't* CC me.