123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>SSH From Linux Into Your Microsoft Windows Hosts</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta charset="UTF-8">
- <meta name="keywords" content="SSH,Windows,Linux,Secure Shell,Powershell,Terminal,Command Line,How To,Tutorial,i12bretro">
- <meta name="author" content="i12bretro">
- <meta name="description" content="SSH From Linux Into Your Microsoft Windows Hosts">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="revised" content="06/09/2022 02:38:12 PM" />
- <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
- <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
- <script type="text/javascript" src="includes/js/steps.js"></script>
- <link href="css/steps.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="gridContainer">
- <div class="topMargin"></div>
- <div id="listName" class="topMargin">
- <h1>SSH From Linux Into Your Microsoft Windows Hosts</h1>
- </div>
- <div></div>
- <div id="content">
- <ol>
- <li>Log into the Windows host</li>
- <li>Run the following commands in a powershell window
- <div class="codeBlock PS"># check the current status of ssh server<br />
- Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'<br />
- # install the ssh server<br />
- Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0<br />
- # start the sshd service and set for automatic startup<br />
- Set-Service -Name sshd -Status Running -StartupType Automatic<br />
- # check the sshd service status<br />
- Get-Service sshd</div>
- </li>
- <li>With SSH now running, let's test connecting to it</li>
- <li>From another device (Linux or Windows), ssh into the Windows host</li>
- <li>After authenticating you should SSH into a remote PowerShell terminal</li>
- </ol>
- </div>
- </div>
- </body>
- </html>
-
|