Nilberto César
Nilberto César

Reputation: 73

How to log in to ssh without public key? Only with username and password

I want to know if in google cloud it is possible to log in to my ssh server without publickey, since I need to delete and create users frequently and it becomes annoying to have to generate the keys

Upvotes: 7

Views: 11673

Answers (1)

Hakro
Hakro

Reputation: 2774

Head over to the file /etc/ssh/sshd_config, and change the following line :

PasswordAuthentication yes

Then restart sshd :

sudo service ssh restart

Upvotes: 16

Related Questions