mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-21 21:14:51 +02:00
Updated ssh.exe examples (markdown)
parent
cd022cdddf
commit
7a9bb8972b
@ -18,20 +18,6 @@
|
||||
* `ssh.exe -i .\id_rsa user@host` (work group user)
|
||||
* `ssh.exe -i .\id_rsa -l user@domain host` (domain user)
|
||||
|
||||
##### Running Powershell
|
||||
|
||||
Powershell can be launched over SSH by running the command `powershell -File -` as follows:
|
||||
|
||||
C:\Master>ssh.exe -l user@127.0.0.1
|
||||
user@127.0.0.1's password: **********
|
||||
Microsoft Windows [Version 10.0.10566]
|
||||
(c) 2016 Microsoft Corporation. All rights reserved.
|
||||
user@DEV-10566-829 C:\Users\user>powershell -File -
|
||||
PS C:\Users\user> get-module
|
||||
ModuleType Version Name ExportedCommands
|
||||
---------- ------- ---- ----------------
|
||||
Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Computer, Add-Content, Checkpo...
|
||||
|
||||
##### For Unix and Linux users
|
||||
|
||||
The [Modern Unix Rosetta Stone](https://certsimple.com/rosetta-stone) includes Powershell examples of common Unix and Linux commands.
|
Loading…
x
Reference in New Issue
Block a user