Transférer les fichiers vers ''

Update Protection of SSH
master
Mathis CHIRAT 2 years ago
parent 249bf419d7
commit 3b7b71cc3e

@ -42,7 +42,7 @@ do
printf "Chargemement en cours.."
cmdpanel_msg="$(ls -l -A /dev/pts | grep $USER | grep -v 'rw-------' | wc -l)"
cmdpanel_file="$(ls -ld ~ | grep -o '^\S*')"
cmdpanel_ssh="$(ls -l -A ~| grep .ssh | grep -o '^\S*')"
cmdpanel_ssh="$(ls -ld ~/.ssh | grep -o '^\S*')"
cmdpanel_psqlpwd="$(cat ~/.psql_history | grep 'WITH PASSWORD' | wc -l)"
clear
Aff
@ -121,7 +121,7 @@ do
while ((j==0))
do
clear
cmdpanel_ssh="$(ls -l -A ~| grep .ssh | grep -o '^\S*')"
cmdpanel_ssh="$(ls -ld ~/.ssh | grep -o '^\S*')"
if [[ $cmdpanel_ssh == "drwx------" ]]; then
printf "\n> ${ENDCOLOR}SSH File Protection ${GREEN}Enable ${ENDCOLOR}\n"
else