Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
tmate-slave
tmate-slave-gen-keys.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tmate-slave-gen-keys.sh of Package tmate-slave
#!/bin/sh APP_ARG_KEYSDIR="/etc/tmate-slave/keys" gen_key() { keytype=$1 ks="${keytype}_" key="$APP_ARG_KEYSDIR/ssh_host_${ks}key" if [ ! -e "${key}" ] ; then ssh-keygen -t ${keytype} -f "${key}" -N '' return $? fi } gen_key dsa && \ gen_key rsa && \ gen_key ecdsa || \ exit 1 chmod 400 $APP_ARG_KEYSDIR/*key
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor