[Self-use SSH remote control] Linux20.04 uses SSH remote control method

1. Enter root mode

sudo su root

insert image description here
insert image description here
2. Remote control with SSH

ssh cust@58.244.9.136

insert image description here
After entering the password
insert image description here
, you can perform subsequent operations through the command line
3. Exit SSH

exit

insert image description here
4. How to use windows
Open the settings
insert image description here
Open the application
insert image description here
Select optional features
insert image description here
Add features
insert image description here
Add OpenSSH Run
insert image description here
as an administrator Command prompt input
in bold styleinsert image description here

net start sshd # 启动
net stop sshd # 关闭

Subsequent steps are the same as linux

5. Remote file transfer
host windows, remote control linux
open command prompt
win+r cmd

insert image description here
input

scp E:/colorization/nir.zip cust@58.244.9.136:/home/cust/cust_data

The transfer is successful

Guess you like

Origin blog.csdn.net/qq_40721108/article/details/129223395