1、redhat7修改/etc/ld.so.conf文件
以下
1.sql
echo "/usr/local/XXXX/lib" >> /etc/ld.so.conf ldconfig
會致使ssh
[root@localhost ~]# ssh localhost root@localhost's password: Permission denied, please try again.
echo "/home/highgo/XXXX/lib" >> /etc/ld.so.conf ldconfig
會致使ide
[root@localhost highgo]# ssh localhost ssh_exchange_identification: read: Connection reset by peer
在/etc/ld.so.conf.d目錄下新建 .conf 文件指向lib一樣致使ui
[root@localhost highgo]# ssh localhost ssh_exchange_identification: read: Connection reset by peer
2、CentOS7 修改/etc/ld.so.conf文件code
[root@db1 highgo]# ssh localhost ssh: /home/highgo/pgsql/lib/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by ssh)
redhat看不出解決方法,可是經過在CentOS的提示,發現是libcrypto.so.10庫文件致使的問題,在 添加咱們本身的路徑前,先添加系統的可解決,以下
圖片