SSH Connection SoundA cross-platform VS Code extension that plays sounds for Remote-SSH connection success, failure testing, and disconnect events. The extension runs as a UI extension, so sound playback happens on your local computer rather than on the remote SSH server. Features
DownloadLatest VSIXDownload the latest The release assets contain the installable VS Code extension:
InstallationOption 1 — Install the VSIX from the terminalAfter downloading the
Option 2 — Install from VS Code
Supported Operating SystemsWindowsSupported:
Windows uses native Custom sound files can also be configured as macOSmacOS uses the built-in:
System sound files can be configured using LinuxThe extension supports common Linux audio playback utilities:
It also checks several common locations for desktop notification sounds. Supported distributions include:
How It WorksThe extension monitors the VS Code remote environment:
When VS Code enters a Remote-SSH environment, the extension detects the SSH connection and plays the configured success sound. When the Remote-SSH environment disappears, the extension detects the disconnect and plays the configured disconnect sound. The extension is configured as a UI extension:
This is important because the extension needs to play audio through the local computer's audio system. The remote SSH server does not need to have the sound files or audio playback utilities installed. Sound ConfigurationSound configuration is stored in:
The bundled configuration contains platform-specific sounds. Example structure:
Custom SoundsYou can provide your own In VS Code settings, configure:
or use:
The extension also supports:
and relative paths. After changing the file, use:
to reload the configuration. VS Code SettingsThe extension provides the following settings. Enable or Disable SoundsSetting:
Default:
Example:
Custom Sounds FileSetting:
Default:
An empty value uses the bundled Example:
Polling IntervalSetting:
Default:
The value is specified in milliseconds. Example:
The minimum supported value is:
CommandsOpen the VS Code Command Palette:
or on macOS:
Available commands: Test Success Sound
Immediately tests the configured success sound. Test Failure Sound
Immediately tests the configured failure sound. Test Disconnect Sound
Immediately tests the configured disconnect sound. Reload Sounds
Reloads the configured This allows sound configuration changes without restarting VS Code. Remote-SSH UsageInstall the extension on your local VS Code installation. Then connect to a remote machine using:
The extension runs locally and monitors the VS Code remote environment. Example:
The audio is played locally. You do not need to install this extension separately on the remote server. Failure DetectionVS Code's public extension API does not expose the complete internal Remote-SSH connection log stream. Therefore, the extension can reliably detect:
The failure sound is available through the test command. Automatic detection of every possible Remote-SSH failure is not guaranteed because Remote-SSH's internal connection logs are not exposed as a stable public VS Code API. DevelopmentClone the repository:
Install the VS Code Extension Manager:
Package the extension:
This generates:
Install the local package:
Project Structure
GitHub ActionsThe repository uses GitHub Actions for automated validation and releases. Continuous IntegrationThe CI workflow validates:
It runs on pushes to ReleasesA release is created automatically when a version tag is pushed:
The release workflow:
Creating a ReleaseUpdate the version in:
For example:
Commit the change:
Create the Git tag:
GitHub Actions will automatically build and publish:
Manual PackagingYou can always build the VSIX locally:
Inspect the files included in the package:
Install the generated package:
LicenseThis project is licensed under the MIT License. See LICENSE for details. RepositoryGitHub: https://github.com/omarZACK/vscode-ssh-connection-sound Releases: https://github.com/omarZACK/vscode-ssh-connection-sound/releases Latest release: https://github.com/omarZACK/vscode-ssh-connection-sound/releases/latest AuthorOmar Wawy GitHub: |