If you ask your preferred search engine, you will get many answers that there is not default password...
(Of course! The idea behind containers and container schedulers is, that everything works automatically and typing passwords does not fit in this mantra).
But no worries, only 4 steps are needed to get a login via ssh:
- on your laptop
- $ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/schroff/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/schroff/.ssh/id_rsa.
Your public key has been saved in /home/schroff/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxx schroff@zerberus
The key's randomart image is:
+---[RSA 2048]----+
xxxxxx
+----[SHA256]-----+ - cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
- inside the coreos vm
- scp schroff@
: /.ssh/authorized_keys /home/core/.ssh
schroff@xxxxxxx's password:
authorized_keys 100% 398 0.4KB/s 00:00 - on your laptop
- ssh core@
(Although you have to clean up your known hosts file, because the machine starts up with a new ssh key.)
Other posts around this topic: Core OS
We stumbled over here by a diffrerent web address and thought I might check things
ReplyDeleteout. I like what I ssee so i aam just following
you. Look forward to looking into your web page repeatedly.
???
ReplyDeletewell how to copy id without know login password?