shell脚本加密

cd /usr/local/src/
wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9.tgz
tar zxf shc-3.8.9.tgz
cd shc-3.8.9
mkdir -p /usr/local/man/man1
make install
cp shc /usr/sbin/ 
cp shc /usr/bin/

shc -r -e "30/06/2018" -m "my name is cby" -f a.sh
-e 指定过期时间
-m 过期提示
-f 指定加密文件
-r 可在相同操作系统的不同主机上执行
你好
原文地址:https://www.cnblogs.com/cuibaiyi/p/9145985.html