-
Notifications
You must be signed in to change notification settings - Fork 1
Installing or updating to the latest version
To report a problem or share an idea, use Issues; and if you have a suggestion for fixing the issue, please include those details, too.
Got questions or want to discuss something with our team? Join us on Slack!
This topic describes how to install or update the latest release of the vSSH CLI on supported operating systems. For information on the latest releases of vSSH CLI, see the vSSH CLI releases.
To quickly install vSSH CLI on Linux or macOS, run the following script. The script requires sudo and it will install vSSH CLI to /usr/local/bin/
directory.
Linux and macOS
curl -s https://raw.githubusercontent.com/Venafi/vssh-cli/main/.github/install.sh | sh
For Windows, you have to download one of the following archives and extract it yourself.
Installation on Linux
- You must be able to extract or "unzip" the downloaded package. If your operating system doesn't have the built-in unzip command, use an equivalent.
- vSSH CLI is supported on 32- and 64-bit versions of recent distributions of CentOS, Fedora, and Ubuntu.
Follow these steps from the command line to install the vSSH CLI on Linux.
$ curl -L "https://github.com/Venafi/vssh-cli/releases/latest/download/vssh_linux_amd64.zip" -o "vssh.zip"
unzip vssh.zip
./vssh version
- Download the vSSH CLI archive in one of the following ways:
- Use the
curl
command – The-o
option specifies the file name that the downloaded package is written to. The options on the following example command write the downloaded file to the current directory with the local namevssh.zip
.
$ curl -L "https://github.com/Venafi/vssh-cli/releases/latest/download/vssh_linux_amd64.zip" -o "vssh.zip"
- Downloading from the URL – To download the vSSH CLI archive with your browser, go to vSSH CLI releases.
- Unzip the archive. If your Linux distribution doesn't have a built-in unzip command, use an equivalent to unzip it. The following command unzips the package and creates a file named
vssh
under the current directory.
$ unzip vssh.zip
- Confirm the installation with the following command.
$ ./vssh version
Venafi SSH CLI Utility v1.0.2022
Build Time: 18 May 22 11:13 UTC
Installation on macOS
- vSSH CLI is supported on Mac with Intel chip (most common) and Apple chip (Nov 2020 and later).
Follow these steps from the command line to install the vSSH CLI on macOS.
$ curl -L "https://github.com/Venafi/vssh-cli/releases/latest/download/vssh_darwin_amd64.zip" -o "vssh.zip"
unzip vssh.zip
./vssh version
- Download the vSSH CLI archive in one of the following ways:
- Use the
curl
command – The-o
option specifies the file name that the downloaded package is written to. The options on the following example command write the downloaded file to the current directory with the local namevssh.zip
.
$ curl -L "https://github.com/Venafi/vssh-cli/releases/latest/download/vssh_darwin_amd64.zip" -o "vssh.zip"
- Downloading from the URL – To download the vSSH CLI archive with your browser, go to vSSH CLI releases.
- Unzip the archive. The following example command unzips the package and creates a file named
vssh
under the current directory.
$ unzip vssh.zip
- Confirm the installation with the following command.
$ ./vssh version
Venafi SSH CLI Utility v1.0.2022
Build Time: 18 May 22 11:13 UTC
Installation on Windows
- vSSH CLI is supported on Microsoft-supported versions of Windows.
Follow these steps to install the vSSH CLI on Windows.
- Go to vSSH CLI releases to download the vSSH CLI utility for your version of Windows.
- Unzip the archive. The following PowerShell command unzips the package and creates a file named
vssh
under the current directory.
PS C:\> Expand-Archive vssh.zip -DestinationPath .
- Confirm the installation with the following command.
PS C:\> .\vssh.exe version
Venafi SSH CLI Utility v1.0.2022
Build Time: 18 May 22 11:13 UTC
If you are updating to the latest version, use the steps below on any supported operating system.
$ vssh update
Looking for updates from Venafi/vssh-cli...
? New version 1.0.2022 is available. Do you want to update (from 1.0.2021)? Yes
Successfully updated to version 1.0.2022
If the vssh
command cannot be found, you may need to restart your terminal or follow the instructions in Adding vSSH CLI to your OS path.
After completing the steps in Prerequisites to use vSSH CLI with Venafi SSH Protect and installing the vSSH CLI, you should perform a quick setup to configure the vSSH CLI.