π
π
π
π
k3s Guides
Searchβ¦
π
π
π
π
k3s Guides
Easy k3s guides
Passwordless SSH Login
Passwordless sudo
k3s manual install
Installing Longhorn Storage Controller
Getting KubeApps installed
Creating k3s cluster with Ansible
Powered By
GitBook
Passwordless SSH Login
On the host create the private and the public key:
1
ssh-keygen
Copied!
Just hit enter to keep the default values.
Usually, I only needs this for some uncritical test- and development-setups where security does not matter that much.
There will be two files in
~/ssh
.
One is private key
id_rsa
and
id_rsa
is the public key.
Now copy the public key to the server with:
1
ssh-copy-id
[email protected]
Copied!
Check if it is possible to log into the server without having to provide the password:
1
ssh
[email protected]
Copied!
Yes, it is really that simple.
Previous
Easy k3s guides
Next
Passwordless sudo
Last modified
1yr ago
Copy link