Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

SSH Terminal

Zechen ZhouZechen Zhou963 downloads

Interactive SSH terminals embedded in Markdown documents.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates7

中文文档

Run interactive SSH terminals directly inside Obsidian Markdown. SSH Terminal renders ssh code blocks in Reading View and Live Preview, so a note can become a runnable operations snippet, lab guide, or server runbook.

SSH Terminal preview

Highlights

  • Write connection details directly in Markdown, including plaintext passwords when that tradeoff is useful.
  • Click to connect only when you choose. Rendering a note never starts an SSH session automatically.
  • Use strict host-key confirmation for both inline and profile-based connections.
  • Keep connected terminals running when you switch documents during the current Obsidian session.
  • Open SSH Sessions from the ribbon to see each terminal's status and original source document.
  • Open any session in its own Terminal tab, then activate the same terminal back in its original Markdown block.
  • Close and reopen Terminal tabs without disconnecting SSH; sessions are not restored after Obsidian restarts.
  • Use profile mode when you want encrypted password storage instead of Markdown plaintext.

Quick Start: Inline Passwords in Markdown

The fastest way to make a note runnable is to put the SSH connection fields in the block:

```ssh
host: server.example.com
port: 22
username: root
password: "replace-with-password"
height: 360
```

Open the note in Reading View or Live Preview, then click Connect in the rendered terminal.

Inline mode requires host, username, and string password. port defaults to 22, height defaults to 360, and the connection timeout is 15000ms. Quote passwords that look like numbers, booleans, or contain YAML-special characters.

Warning: inline passwords are saved as plaintext in Markdown. They may be synced, backed up, indexed, or committed to Git along with the note. Use profile mode for secrets you do not want stored in Markdown.

Profile Mode

Profiles keep reusable host settings out of Markdown and store the password through Electron safeStorage, using the operating system's encryption support.

  1. Open the plugin settings.

  2. Create a profile with host, port, username, timeout, and password.

  3. Reference the profile from Markdown:

    ```ssh
    profile: production-server
    height: 360
    ```
    
  4. Click Connect in the rendered terminal.

profile cannot be mixed with inline fields such as host, username, or password.

Security Notes

  • Inline mode stores passwords directly in Markdown and does not copy them into plugin data.
  • Profile mode stores encrypted password blobs in plugin data.json; plaintext passwords are not written to Markdown.
  • If operating system encryption is unavailable, the plugin refuses to save profile passwords instead of falling back to plaintext.
  • First connection uses TOFU host-key confirmation. A later host-key mismatch blocks the connection.
  • Logs, notices, status text, and errors do not record passwords, typed commands, or terminal output.

First Release Scope

  • Desktop Obsidian only.
  • Password authentication only.
  • SFTP, port forwarding, jump hosts, private keys, SSH Agent, and mobile are not supported yet.
HealthExcellent
ReviewSatisfactory
About
Embed a full interactive SSH terminal in Obsidian desktop notes, usable in reading view and live preview. Initiate connections manually and confirm server host keys on first use; save passwords securely via profiles and the system keychain or supply inline credentials (inline stores passwords in the Markdown). Use on Obsidian desktop only; supports password authentication only.
CommandsIntegrations
Details
Current version
0.4.1
Last updated
2 months ago
Created
3 months ago
Updates
7 releases
Downloads
963
Compatible with
Obsidian 1.8.7+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
Zechen ZhouZechen Zhoujustinzzc
GitHubjustinzzc
  1. Community
  2. Plugins
  3. Commands
  4. SSH Terminal

Related plugins

Actions URI

Add additional `x-callback-url` endpoints to the app for common actions — it's a clean, super-charged addition to Obsidian URI.

Open in Terminal

Open your vault in a new terminal window or launch Claude Code, Codex CLI, or Gemini CLI directly from a terminal.

Shell commands

Define system commands that you want to execute via command palette, hotkeys, URI links or automated events. E.g. open external applications or perform automated file modifications.

Copilot

Run AI agents such as Claude Code, Codex, and OpenCode inside your vault. Turn your second brain into a smart assistant that gets knowledge work done.

BRAT

Easily install a beta version of a plugin for testing.

Self-hosted LiveSync

Sync vaults securely to self-hosted servers or WEBRTC.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Fast Note Sync

Real-time sync of your vaults across server, mobile, and web; shareable with anyone; supports REST and MCP integrations to build your personal AI knowledge base.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

Custom Frames

Turn web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.