mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-04 02:21:02 +08:00
* Expand cloud getting started to include replaying sessions and all desktop installations
33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
Starting with Teleport v7.2.0, most `tsh` features are supported for Windows 10
|
|
1607+. The `tsh ssh` command can be run under `cmd.exe`, PowerShell, and Windows
|
|
Terminal.
|
|
|
|
To install `tsh` on Windows, run the following commands in PowerShell:
|
|
|
|
```code
|
|
# Get the expected checksum for the Windows tsh package
|
|
$ $Resp = Invoke-WebRequest https://get.gravitational.com/teleport-v(=teleport.version=)-windows-amd64-bin.zip.sha256
|
|
# PowerShell will return the binary representation of the response content
|
|
# by default, so you need to convert it to a string
|
|
$ [System.Text.Encoding]::UTF8.getstring($Resp.Content)
|
|
# <checksum> <filename>
|
|
$ curl -O teleport-v(=teleport.version=)-windows-amd64-bin.zip https://get.gravitational.com/teleport-v(=teleport.version=)-windows-amd64-bin.zip
|
|
$ certUtil -hashfile teleport-v(=teleport.version=)-windows-amd64-bin.zip SHA256
|
|
# SHA256 hash of teleport-v(=teleport.version=)-windows-amd64-bin.zip:
|
|
# <checksum>
|
|
# CertUtil: -hashfile command completed successfully.
|
|
```
|
|
|
|
After you have verified that the checksums match, you can extract the archive.
|
|
The executable will be available at
|
|
`teleport-v(=teleport.version=)-windows-amd64-bin\teleport\tsh.exe`.
|
|
|
|
```code
|
|
$ Expand-Archive teleport-v(=teleport.version=)-windows-amd64-bin.zip
|
|
$ cd teleport-v(=teleport.version=)-windows-amd64-bin\teleport
|
|
$ .\tsh.exe version
|
|
Teleport v(=teleport.version=) git:v(=teleport.version=) go(=teleport.golang=)
|
|
```
|
|
|
|
Make sure to move `tsh.exe` into your PATH.
|