文章分类 - linux
摘要:if [ `whoami` = "root" ];then echo "root user" else echo "not root user" fiid -u current user idif [`id -u` -eq 0 ]thenecho "root user"elseecho "not r
阅读全文
摘要:ssh-keygen -b 2048 -t rsa #这里的-b 2048 是密钥加密的长度,最好设大点,有消息称美国有黑客解决 ssh的密钥进行破解。#http://bbs.yuloo.com/thread-860154-1-1.html 直接回车3次 key文件会保存在~/.ssh目录下 这时候
阅读全文

浙公网安备 33010602011771号