https://blog.csdn.net/qingzhuyuxian/article/details/86465700
prefix=/home/openssh/zlib-install CC=arm-none-linux-gnueabi-gcc ./configure
./Configure --prefix=/home/openssh/ssl-install os/compiler:arm-none-linux-gnueabi-gcc
$ cd ../openssh-6.6p1
$ ./configure --host=arm-none-linux-gnueabi --with-libs --with-zlib=/home/openssh/zlib-install --with-ssl-dir=/home/openssh/ssl-install --disable-etc-default-login CC=arm-none-linux-gnueabi-gcc AR=arm-none-linux-gnueabi-ar
$ make
ssh-keygen -t rsa -f ssh_host_rsa_key -N ""
ssh-keygen -t dsa -f ssh_host_dsa_key -N ""
ssh-keygen -t ecdsa -f ssh_host_ecdsa_key -N ""
ssh-keygen -t dsa -f ssh_host_ed25519_key -N ""
chmod 600 ssh_host_ed25519_key
Xshell上用root不能登录的问题
vi /usr/local/etc/sshd_config ,去掉注释PermitRootLogin
修改为: PermitRootLogin yes
打开 /etc/passwd 文件,在最后添加下面这一行:
sshd❌74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
密码的时间过期
https://blog.csdn.net/letian3658/article/details/78035366
http://blog.chinaunix.net/uid-21419530-id-4928333.html
https://www.cnblogs.com/ZQQH/p/8334943.html
用date修改系统时间:date -s "2020-04-01 11:55:00"
date命令详解
https://blog.csdn.net/babymouse1212/article/details/71078876
https://www.cnblogs.com/qmfsun/p/4598650.html