Packages

Simple Elixir SSH worker that provides an Elixir shell over SSH into your application.

Current section

Files

Jump to
ex_sshd make_host_key
Raw

make_host_key

#!/bin/sh
PRIVDIR="priv/ex_sshd"
# Make the private dir
mkdir -p "$PRIVDIR"
# make host keys
rm -f "$PRIVDIR/ssh_host_rsa_key*"
ssh-keygen -t rsa -P "" -f "$PRIVDIR/ssh_host_rsa_key"