apache 密码管理
for i in abc bcd efg
do
echo "$i"
PASSW="${i}2017"
htpasswd -mb passwd_file ${i} ${PASSW}
echo "$i = ${PASSW}"
done
ssh代理
ssh username@Host -pPort -v -N -D 127.0.0.1:9000
for i in abc bcd efg
do
echo "$i"
PASSW="${i}2017"
htpasswd -mb passwd_file ${i} ${PASSW}
echo "$i = ${PASSW}"
done
ssh username@Host -pPort -v -N -D 127.0.0.1:9000
Comments