Тёмный

ADD NEW SSH KEY TO EXISTING AWS EC2 | RECOVER LOST SSH KEY FOR EXISTING AWS EC2 INSTANCE 

Learn It All
Подписаться 237
Просмотров 13 тыс.
50% 1

Lost AWS EC2 SSH Keys or never created one?
Follow the steps to add new SSH key pair to existing Amazon Web Services ( AWS ) EC2 Instance.
Step 1 and 2 are for those who have an Elastic Beanstalk Id connected to the EC2 instance.
otherwise,
follow Step 1 and 3 onwards.
If you messed up the wp-config.php file of your WordPress host on AWS Bitnami and cannot access the WordPress admin page anymore. You will need an SSH key to connect to the Bitnami Instance with FileZilla and fix the wp-config.php file.

Опубликовано:

 

7 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 14   
@Nkraka
@Nkraka 3 года назад
You just saved my job Learn It All. Thank you so much.
@learnitall9670
@learnitall9670 3 года назад
My pleasure. Make sure to subscribe to my channel for more videos on tech and investments to grow your financial assets
@ppcamps
@ppcamps 3 года назад
I've been searching for this for a long time. Thx
@veleg
@veleg Год назад
the best!!!
@insidematters891
@insidematters891 2 года назад
Thank you so much for this tutorial
@software-sage
@software-sage 2 года назад
Very good video. Worked for me
@zubairahmed6908
@zubairahmed6908 Год назад
Thanks man you're pro
@user-uj5wl7cw2y
@user-uj5wl7cw2y 3 года назад
I tried every step but some how the main ec2 instance dosnt connect using the new key pairs copied in from the revovery vm ? No clue what to do as the main source vm is not connectingthrough putty . I have accidently deleted its main key pair which was created during instance creation the first main machine, dont know what to do ?
@kazishafin1
@kazishafin1 2 года назад
awesomeeeeee
@puturro
@puturro 2 года назад
wow this is really long and painful. one better never forget to add keypairs to intances
@abdulwaheed7821
@abdulwaheed7821 3 года назад
cat /home/ec2-user/.ssh/authorized_keys > /mnt/recovery/home/ec2-user/.ssh/authorized_keys it says no such file available
@alexven8568
@alexven8568 3 года назад
how to change ssh port? i need to change 22 to 2233. it doesnt work.
@rithikanair5915
@rithikanair5915 3 года назад
Yes it is Sudo vim /etc/ssh/sshd_config #Port 22 Port 2233 Sudo semanage port -a -t ssh_port_t -p tcp 2233 Sudo Systemctl restart sshd To login Ssh -p 2233 ip/domain name
@alexven8568
@alexven8568 3 года назад
@@rithikanair5915 thx. but my problem was in SELinux. i needed to give access to another port inside SELinux or disable them.
Далее
Learn HTML in 6 minutes!
6:08
Просмотров 122
меня не было еще год
08:33
Просмотров 2,7 млн
Looks realistic #tiktok
00:22
Просмотров 38 млн
Yeni Özbək Mahnisi Yoxsa Vefali Reqsi? 😍
00:36
Просмотров 2,5 млн
How to change Amazon EC2 instance PEM file (SSH key)
8:21
Recover Lost Key Pair of AWS EC2 Linux Instance
10:07
Intro to AWS - The Most Important Services To Learn
50:07
IPv4, CIDR, and VPC Subnets Made Simple!
23:47
Просмотров 196 тыс.
меня не было еще год
08:33
Просмотров 2,7 млн