M
M
Maxim2018-05-07 05:38:47
SSH
Maxim, 2018-05-07 05:38:47

How to find server login/password for ssh connection?

There is a server on DigitalOcean. I connect via ssh using the following command:
ssh -i configs/algo.pem [email protected]
RSA PRIVATE KEY is in the algo.pem file.
Can I know the password/login of the server and is it possible to change them in order to connect via ssh using the login/password?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor, 2018-05-07
@mavolkov

Use the "passwd" command to change your password and log in with the password.
You may also need to change "PasswordAuthentication yes" in the "/etc/ssh/sshd_config" file, then you can definitely log in with a password

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question