mirror of
https://github.com/YunoHost-Apps/borgwarehouse_ynh.git
synced 2024-09-03 18:16:17 +02:00
25 lines
829 B
Bash
25 lines
829 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
#=================================================
|
||
|
# COMMON VARIABLES
|
||
|
#=================================================
|
||
|
|
||
|
nodejs_version=18
|
||
|
ssh_port=$(grep -P "Port\s+\d+" /etc/ssh/sshd_config | grep -P -o "\d+")
|
||
|
|
||
|
rsa_key=$(ssh-keygen -lf /etc/ssh/ssh_host_rsa_key | awk '{print $2}')
|
||
|
ed25519_key=$(ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key | awk '{print $2}')
|
||
|
ecdsa_key=$(ssh-keygen -lf /etc/ssh/ssh_host_ecdsa_key | awk '{print $2}')
|
||
|
|
||
|
#=================================================
|
||
|
# PERSONAL HELPERS
|
||
|
#=================================================
|
||
|
|
||
|
#=================================================
|
||
|
# EXPERIMENTAL HELPERS
|
||
|
#=================================================
|
||
|
|
||
|
#=================================================
|
||
|
# FUTURE OFFICIAL HELPERS
|
||
|
#=================================================
|