less than a minute
By default, k3OS only allows SSH connections to be made using certificates for security purposes. However, we understand that creating a public key infrastructure can be overwhelming for some mechanical engineers and programmers. As a result, it may be useful to enable password authentication for k3OS in a development environment.
Access the edge device using a computer with a screen and keyboard. Log in with the username rancher
and password rancher
. In the file /etc/ssh/sshd_config, set the value of PasswordAuthentication to yes
and restart the sshd service. You can use the following command:
sudo vim /etc/ssh/sshd_config -c "%s/PasswordAuthentication no/PasswordAuthentication