OpenSSH随笔

#安装OpenSSH

curl -O https://www.openssl.org/source/openssl-1.0.2h.tar.gz

./config

make

make install

apt-get install libssl-dev

curl -O http://openbsd.hk/pub/OpenBSD/OpenSSH/portable/openssh-7.2p2.tar.gz

./configure

make

make install

错误 Privilege separation user sshd does not exist,解决方法:

编辑/etc/passwd加入sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin

你可能感兴趣的:(OpenSSH随笔)