win10 open ssh server service

Install openssh

  • Settings-Applications-Applications and Features-Manage Optional Features-Add Features
    Install OpenSSH Server and Client

Choose: Application 

Added feature: find openssh server 

Verify installation

Enter in the cmd interface to sshverify the client

  1. ssh

  2. usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]

  3. [-D [bind_address:]port] [-E log_file] [-e escape_char]

  4. [-F configfile] [-I pkcs11] [-i identity_file]

  5. [-J [user@]host[:port]] [-L address] [-l login_name] [-m mac_spec]

  6. [-O ctl_cmd] [-o option] [-p port] [-Q query_option] [-R address]

  7. [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]]

  8. destination [command]

SSH service

The same is the command line interface

Restart the computer

  • Start the SSH service Run the cmd command with administrator privileges: net start sshd
    1. net start sshd

    2. OpenSSH SSH Server 服务正在启动 .

    3. OpenSSH SSH Server 服务已经启动成功。

  • Stop SSH servicenet stop sshd
  1. net stop sshd

  2. OpenSSH SSH Server 服务已成功停止。

-------------------------------------------------------------------------------------- 

Guess you like

Origin blog.csdn.net/u012308586/article/details/107669270