Command line mode (SSH or PowerShell) remote Windows Server

Source: Internet
Author: User

1. telnet to Window server using SSH

Most of the methods found online are freesshd or copsshd tools.

The way to do this is to download the installation files and install them on the server side:

Start and setting as a service after installation is complete

To set the port settings user:

Start the server to connect using SSH

But there will be garbled ...

2. The second approach is to connect remotely using PowerShell, with two main steps:

The first step allows PS remote access

On the server side:

PowerShell execution:

Enable-psremoting

The default selection is Y OK

Part II

To execute a command on the client:

Set-item Wsman:\localhost\client\trustedhosts-value *

Allow remote access to the server:

Step Three:

PowerShell execution

Enter-pssession 10.24.88.120-credential Administrator

Enter the password to access both.

Where Win10 is required, the WinRM is opened by the administrator to open cmd to perform the WinRM quickconfig operation.

Reference:

Http://www.junww.com/server/2017/0422/237.html

Command line mode (SSH or PowerShell) remote Windows Server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.