linux - How to make key based ssh user? -


I am new to Ubuntu Linux, I have to create an SSU user in the remote system and generate its key. And this system can be used by the key_file command.

  ssh -i key_file user @ host  

Can any body tell me how can I?

The system you are trying to connect to, the public key (usually id_rsa .pub or something similar) to the authorized_keys file.

If the user is brand new and the authorized_keys file does not exist yet, then this command will create it for you. Next, make sure that the sshd is running on the host and you will be able to access it. You must be able to connect with the order you posted.


Comments