Comments (7)
sorry, which one? do you mean the host created by vagrant? if so. you can use vagran ssh
to login to that host.
from docker-k8s-lab.
It works fine with windows system with vagrant SSH but in Linux, latest version of vagrant doesn't support vagrant SSH and vagrant up.
So,what I am planning is reset the password in windows system but it is asking current user password which I don't know.
If you provide the password,I will reset it and export the vm later on I can import into Linux and work with it.
from docker-k8s-lab.
I am sorry, I don't know vagrant ssh doesn't work on Linux. but I find this https://www.vagrantup.com/intro/getting-started/up.html it doesn't mention that.
from docker-k8s-lab.
Latest versions of vagrant doesn't support it in linux.If you still insists I can send a screenshot of the message.
from docker-k8s-lab.
sorry, I don't mean that. because I have no experience about latest vagrant.
do you have any idea how to access the host? I think the vagrant documentation should mention that. I am very busy these days and don't have much to do the test, but I can figure out in future.
from docker-k8s-lab.
Thanks
from docker-k8s-lab.
I just started one centos host with the latest vagrant on my Mac book, I can use vagrant ssh. and I will test Ubuntu may be tomorrow.
➜ centos7 vagrant version
Installed Version: 2.0.0
Latest Version: 2.0.0
You're running an up-to-date version of Vagrant!
➜ centos7 vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'centos/7'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'centos/7' is up to date...
==> default: A newer version of the box 'centos/7' is available! You currently
==> default: have version '1509.01'. The latest is version '1710.01'. Run
==> default: `vagrant box update` to update.
==> default: Setting the name of the VM: centos7_default_1509609398433_41111
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection reset. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: No guest additions were detected on the base box for this VM! Guest
default: additions are required for forwarded ports, shared folders, host only
default: networking, and more. If SSH fails on this machine, please install
default: the guest additions and repackage the box to continue.
default:
default: This is not an error message; everything may continue to work properly,
default: in which case you may ignore this message.
==> default: Installing rsync to the VM...
==> default: Rsyncing folder: /Users/penxiao/Vagrant/centos7/ => /home/vagrant/sync
➜ centos7
➜ centos7 vagrant ssh
[vagrant@localhost ~]$ ls
sync
[vagrant@localhost ~]$
from docker-k8s-lab.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-k8s-lab.