需要 :apt-get install dpkg-dev
sudo apt-get source xxx 命令来获取源码包,它会将源码包下载到用户当前目录
apt-get build-dep命令可以主动获取并安装所有依赖关系的相关软件包
没有 dpkg-dev 解压源码 dpkg-source -x foo_version-revision.dsc
sudo dpkg-buildpackage 编译打包
忽略改动编译打包dpkg-buildpackage -rfakeroot -b
这样修改编译出来的包覆盖安装后不会出现no version information available
SSH也不会无法文件传输。。。
这个 问题折腾死我了。。。。
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
rsa [options] <infile >outfile
where options are
-inform arg input format - one of DER NET PEM (输入的密钥编码格式,可以是DER、NET、PEM中的一个,默认为PEM)
-outform arg output format - one of DER NET PEM (输出的密钥编码格式)
-in arg input file (输入的密钥文件名称)
-sgckey Use IIS SGC key format (使用SGC格式,一般很少用到)
-passin arg input file pass phrase source (输入密钥文件时提供的密钥文件口令)
-out arg output file (输出的密钥文件名)
-passout arg output file pass phrase source (输出密钥文件时的口令)
-des encrypt PEM output with cbc des (使用des算法对密钥进行加密)
-des3 encrypt PEM output with ede cbc des using 168 bit key (使用des3算法对密钥进行加密)
-aes128, -aes192, -aes256
encrypt PEM output with cbc aes (使用aes算法对密钥进行加密)
-text print the key in text (明文输出密钥参数)
-noout don't print key out (不输出密钥到文件)
-modulus print the RSA key modulus (输出RSA密钥模值)
-check verify key consistency
-pubin expect a public key in input file (默认输入的是密钥对的私钥,使用pubin输入的是密钥的公钥)
-pubout output a public key (输出公钥到文件)
-engine e use engine e, possibly a hardware device. (使用第三方设备)
openssl genrsa -aes128 -out rsakey.pem -passout pass:111111 2048