initial work
This commit is contained in:
8
build/get_pub_keys.sh
Executable file
8
build/get_pub_keys.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
idnr=$( id -u "$1" )
|
||||
|
||||
if [[ -e "/var/ssh-box/users/${idnr}-${1}" ]]; then
|
||||
cat "/var/ssh-box/users/${idnr}-${1}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user