当前位置:网站首页>SSH in win10

SSH in win10

2022-04-23 21:50:00 Three stone orders

1、 install ssh Client or server

Set up - application - Optional features - Add functionality - Choose OpenSSH Client and OpenSSH Server side - install

 

2、 Use ssh client

Install well ssh After the client enters the account and password, you can access the server , What we use here is PowerShell, Third party... Is generally used ssh Tools , Such as XshellBitvisemobaxterm etc. , All carry sftp You can easily transfer files .

3、 Use ssh Server side

Run as administrator PowerShell, Open the service first , Execute the following instructions :

Start-Service sshd

If you want to start up automatically every time , Execute the following instructions :

Set-Service -Name sshd -StartupType 'Automatic'

View firewall status , Execute the following instructions :

Get-NetFirewallRule -Name *ssh*

Then you can access this computer from another computer , After executing the following instructions, enter the password to access :

ssh [email protected] 

username For your user name , Generally in C The user of the disk can see ;

xxx.xxx.xxx.xxx For this machine ip Address , Static setting is recommended ip;

Reference resources :windows How to view the current user name

 

 

 

版权声明
本文为[Three stone orders]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204200615437564.html