L
L
Leopandro2016-11-17 11:10:31
SSH
Leopandro, 2016-11-17 11:10:31

How not to enter the password every time to connect via SSH?

I apologize for such a stupid question, but I'm a little fed up with entering a password every time to connect to the server console. How to save the connection password? I am sure that this can be done with some commands.
And one more question. I have an SSH client for the Windows console. And every time I get a similar message when I connect:

RSA key fingerprint is 86:....
Are you sure you want to continue connecting (yes/no)?
Failed to add the host to the list of known hosts (/cygdrive/c/Users/\200\253\245\252\341\245\251/.ssh/known_hosts).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kuts, 2016-11-17
@fox_12

Use key
Keys can be generated with the ssh-keygen command. For example:
Of the two resulting files, add somekey.pub to .ssh/authorization_keys in the home directory of the user you are connecting to on the remote server, and use somekey to connect.
To avoid the Are you sure you want to continue connecting... message, try option
when connecting via ssh

Z
ZloyHobbit, 2016-11-17
@ZloyHobbit

Read about ssh-agent, rsa-keys, etc.
In normal systems, everything works out of the box, in Windows you will have to attach crutches ryanlanciaux.github.io/blog/2014/05/15/running-ssh...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question