SSH login using Public key and user password both required on Linux

Опубликовано: 01 Январь 1970
на канале: Phuong Nguyen
575
2

This video i show you how to SSH login using Public key and user password both required on Linux

Step 1. Add a passphrase
ssh-keygen -t rsa

Step 2. Copy the public key to the server only if the key is new
In your client computer enter:
ssh-copy-id -i ~/.ssh/id_rsa [email protected]

Step 3. Test if public keys are being used
Try to login to the server by entering:
ssh [email protected]

Step 4. Setup for both public key and password
Login to the ssh server (the board) and edit the /etc/ssh/sshd_config file.
Add the following line in the file:
AuthenticationMethods publickey,password

Thank for watching my video


Смотрите видео SSH login using Public key and user password both required on Linux онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Phuong Nguyen 01 Январь 1970. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 575 раз и оно понравилось 2 посетителям.