How to set up SSH on Linux(Ubuntu) | Learn Vlog 1
Автор: Juan
Загружено: 2022-08-10
Просмотров: 89
Описание:
In this video, I will talk about how to set up SSH for remote access, authorize the root user access via SSH, and demonstrate remote access via an SSH client.
[Blog Post]
https://juanstechblog.blogspot.com/20...
[Donation]
https://ko-fi.com/juanonkofi
[Commands]
Update & Upgrade packages
$ sudo apt update
$ sudo apt upgrade
Install OpenSSH-Server
$ sudo apt install openssh-server
Check SSH service status
$ sudo systemctl status ssh
Add rules to allow SSH pass-through UFW
$ sudo ufw allow ssh
Check current computer IP address
$ ip a
Authorize root user remote access via SSH
$ sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
Set up root user password
$ sudo passwd
Restart SSH service
$ sudo systemctl restart ssh
SSH remote access
$ ssh username@ip_address
Stop SSH service
$ sudo systemctl stop ssh
Disable root user remote access
$ sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin no/‘ /etc/ssh/sshd_config
Delete UFW rules for SSH pass-through
$ sudo ufw delete allow ssh
Remove SSH package
$ sudo apt remove openssh-server
Remove dependency packages
$ sudo apt automove
[Chapters]
0:00 Opening
0:40 Enable SSH
1:49 Authorize root user access via SSH.
2:57 Demo remote access via SSH
3:24 Additional
4:16 Ending
[Blog Post]
https://juanstechblog.blogspot.com/20...
#ssh #Linux #command
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: