Files
ssh-box/build/get_pub_keys.sh

9 lines
135 B
Bash
Executable File

#!/bin/sh
set -e
idnr=$( id -u "$1" )
if [[ -e "/var/ssh-box/users/${idnr}-${1}" ]]; then
cat "/var/ssh-box/users/${idnr}-${1}"
fi