Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hanoii/ddev-sshd
Install ssh server on the web container
https://github.com/hanoii/ddev-sshd
ddev ddev-get
Last synced: 1 day ago
JSON representation
Install ssh server on the web container
- Host: GitHub
- URL: https://github.com/hanoii/ddev-sshd
- Owner: hanoii
- License: apache-2.0
- Created: 2023-08-02T12:39:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-26T16:46:21.000Z (5 months ago)
- Last Synced: 2024-04-26T17:49:07.326Z (5 months ago)
- Topics: ddev, ddev-get
- Language: Shell
- Homepage:
- Size: 70.3 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![tests](https://github.com/hanoii/ddev-sshd/actions/workflows/tests.yml/badge.svg)](https://github.com/hanoii/ddev-sshd/actions/workflows/tests.yml)
![project is maintained](https://img.shields.io/maintenance/yes/2024.svg)# ddev-sshd
- [What is ddev-sshd?](#what-is-ddev-sshd)
- [Usage](#usage)
- [Install the dev version](#install-the-dev-version)## What is ddev-sshd?
This adds an ssh server to the container. If `ddev auth ssh` has previously been
run, it will export your local keys as authorized keys so you can ssh into the
container.The exposed host port will change on each restart, you can look for it on
`ddev describe`.## Usage
This addon comes with a `ddev sshd:config` command that modify your local ssh
configuration so that you can `ssh DDEV_PROJECT` making easier to work with ssh.You can test this command and if you are happy with what it does you can add it
to a post-start hook on your `config.yaml`:```yaml
hooks:
post-start:
- exec-host: ddev sshd:config
```If you are courious on what the command will add, try
```
ddev sshd:config --dry-run
```## Install the dev version
You can always install the latest code with
```
ddev get https://github.com/hanoii/ddev-sshd/tarball/main
```**Contributed and maintained by [@hanoii](https://github.com/hanoii)**