I want to creatre portable dev environment inside a Vagrant box. But faced a problem with ssh key access rights. On some target machines I haven't got enough rights to change them. Is it possible to configure Vagrant to have access maybe only with password to make box fully rights-independent?
相关问题
- JavaScript File Transfer SSH
- Why does this bash script work at console but fail
- Make Laravel Homestead Accessible via the Internet
- Run testcafe headless when passing custom args to
- SSH Fingerprint not authorized on Heroku after git
相关文章
- Check if directory exists on remote machine with s
- Git Clone Fails: Server Certificate Verification F
- Test if File/Dir exists over SSH/Sudo in Python/Ba
- Can't access AWS CodeCommit with SSH
- Update .bashrc from provisioning shell script with
- Vagrant, shared folder: take advantage of inotify
- Sanity check SSH public key? [closed]
- Spark EC2 SSH connection error SSH return code 255
You can have vagrant box running from USB (I do that a lot and its nice to take hard drive with you and go on another computer and everything is running the same)
If you run VMWare provider, this is all set as all the vagrant file and the VM files are within the
.vagrant
directory from your project so just runVagrant init
andvagrant up
within your USB and all the files are there, you can take the USB drive with you and connect to another computer running vagrant/VMWare and you're goodWhen you run VirtualBox provider, its a bit different as the vagrant files will be stored within your
vagrant
directory but your VM files will likely be stored with yourMy Documents
folder. You can overcome that by forcing VirtualBox to store the files on the USB as well - see this answer https://stackoverflow.com/a/36343325/4296747 to have multiple options how you can do that