Configure SSH service on Windows system server

1. Install OpenSSH

Open [Settings] - [Applications],
insert image description here
select [Manage Optional Features],
insert image description here
click [Add Features]
insert image description here
, select [OpenSSH Server], remember not [OpenSSH Client], and then click Download to
insert image description here
install automatically after the download is complete. appear in the list
insert image description here

2. Open the OpenSSH service

Find the command prompt and run it as an administrator
insert image description here
Execute the "net start sshd" command to start the SSH service
insert image description here

3. Set boot automatically

Press the [win]+R key, enter [services.msc]
insert image description here
to search for the [OpenSSH SSH Server] service,
insert image description here
right-click-properties, and select the startup type: [automatic], which realizes the boot-up self-start
insert image description here

4. Connect

Open xshell or other SSH connection tools
to add a new connection, just fill in the IP of the host, and then click the connection, the input box for the user name and password will pop up, just fill in.
insert image description here
connection succeeded
insert image description here

Guess you like

Origin blog.csdn.net/qq_28545605/article/details/125672313