---
title: Install ondra-snap-ssh-debug on Linux | Snap Store
description: Get the latest version of ondra-snap-ssh-debug for Linux - ssh tunnel
  with built in ssh server
url: https://snapcraft.io/ondra-snap-ssh-debug
---

# ondra-snap-ssh-debug

[Ondrej Kubik (ondra)](https://snapcraft.io/publisher/ondra "View all snaps from Ondrej Kubik (ondra)")

* [Ondrej Kubik (ondra)](https://snapcraft.io/publisher/ondra "View all snaps from Ondrej Kubik (ondra)")
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 0.5

Install latest/stable of ondra-snap-ssh-debug

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install ondra-snap-ssh-debug
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* ondra-snap-ssh-debug

---

### License

* unset

---

### Last updated

* 16 January 2024 - latest/stable
* 17 March 2025 - latest/edge

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/ondra-snap-ssh-debug#report-snap-modal)

---

* [Description](https://snapcraft.io/ondra-snap-ssh-debug#tab-description)
* [Security](https://snapcraft.io/ondra-snap-ssh-debug#tab-security)

#### ssh tunnel with built in ssh server

ssh tunnel with built in ssh server.
It can be run stand alone as ssh-tunnel and bind on local ssh server. Or it can be used as boilerplate to be added into own snap to enable remote
application debugging without reliance on system ssh server. At which point ssh session runs confined in host snap context.

At install ssh key is generated and stored to configurations:
`$ snap get ondra-snap-ssh-debug ssh-tunnel.local.ssh-pub-key`
add this to your remove server to allow auto connection.

By default ssh tunnel and ssh server are disabled:
To configure ssh tunnel, use following configuration (with own values):
`$ snap set ondra-snap-ssh-debug ssh-tunnel='{ "remote": {"target": "162.162.11.1", "forwarding-port": "2020", "remote.ssh-port": "22", "user": "ubuntu" }, "local": { "address": "localhost"}}'`

To use built in ssh server, use following example:
`$ snap set ondra-snap-ssh-debug ssh-tunnel.local.port=2040`
`$ snap set ondra-snap-ssh-debug ssh-server='{ "enabled": "true", "authorized-keys" : "ssh-rsa AAAA<MY SSH public key>== ondrej.kubik"}'`

---

## Install ondra-snap-ssh-debug on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/ondra-snap-ssh-debug/arch)

[### CentOS](https://snapcraft.io/install/ondra-snap-ssh-debug/centos)

[### Debian](https://snapcraft.io/install/ondra-snap-ssh-debug/debian)

[### elementary OS](https://snapcraft.io/install/ondra-snap-ssh-debug/elementary)

[### Fedora](https://snapcraft.io/install/ondra-snap-ssh-debug/fedora)

[### KDE Neon](https://snapcraft.io/install/ondra-snap-ssh-debug/kde-neon)

[### Kubuntu](https://snapcraft.io/install/ondra-snap-ssh-debug/kubuntu)

[### Manjaro](https://snapcraft.io/install/ondra-snap-ssh-debug/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/ondra-snap-ssh-debug/pop)

[### openSUSE](https://snapcraft.io/install/ondra-snap-ssh-debug/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/ondra-snap-ssh-debug/rhel)

[### Ubuntu](https://snapcraft.io/install/ondra-snap-ssh-debug/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/ondra-snap-ssh-debug/raspbian)
