DANGER: NOT RECOMMENDED FOR PRODUCTION! USE DEFAULT BEHAVIOR WITH CERTIFICATES INSTEAD
By default, k3OS allows SSH connections only using certificates. This is a much safer method than using passwords. However, we realized that most mechanical engineers and programmers are overwhelmed with the creation of a public key infrastructure. Therefore, it might make sense to enable password authentication in k3OS for development mode.
PasswordAuthenticationin the file
yesand restart the service
sshd. You can use the following command:
sudo vim /etc/ssh/sshd_config -c "%s/PasswordAuthentication no/PasswordAuthentication yes/g | write | quit" && sudo service sshd restart