Ubuntu 22.04 Server: Enable SSH for Root

preview_player
Показать описание
Hi Guys!

Welcome to a NEW series on Ubuntu 22.04 Server, a linux based OS designed for running Linux services and other applications.
Today, I will show you how to enable the ssh service for root access.

Please like, share, comment and subscribe
and consider checking out our Discord server and Instagram page

Рекомендации по теме
Комментарии
Автор

Thank you so much you are the only one that explained what keys to press i spent so long looking for videos and yours was the only one that helped!!

cw_for_the_win
Автор

Yes follow this really qorking for all

sanielsankhla
Автор

I have just made all the steps you have done but the issue remains there. is there something missing to review on my end? Thanks for your help

ismaeladriannnn
Автор

didnt work for ubuntu 24.04, that happens when u use last versions.

andresgo
Автор

I had to edit:
sudo /root/.ssh/authorized_keys

and remove:
no-port-forwarding, no-agent-forwarding, no-X11-forwarding, command="echo 'Please login as the user \"ubuntu\" rather than the user \"root\".';echo;sleep 10;exit 142"

adampatterson
Автор

Didn't help me access root via SCP using keypair :(

ubhelbr
Автор

Dont work…. Etc/ssh/sshd_config got 0 Lines After Pressing Control X got to 0 Lines second Time Pressung it i her out from the Nano. Gg👌🏼

antic