SSH 连接慢的解决方案详解

说明 1. GSSAPI:Generic Security Services Application Program Interface,GSSAPI本身是一套API,由IETF标准化。其最主要也是著名的实现是基于Kerberos的。一般说到GSSAPI都暗指Kerberos实现。 2. UseDNS:是OpenSSH服务器上的一个DNS查找选项,而且默认还是打开的,在打开的状态下,每当客户端尝试连接OpenSSH服务……

mysql配置文件

[client] port            = 3306 socket          = /tmp/mysql.sock # The MySQL server [mysqld] # Basic port            = 3306 user        = mysql basedir         = /usr/local/mysql datadir         = /data/mysql/mysql3306/data tmpdir          = /data/mysql/mysql3306/tmp socket          = /tmp/mysql……

防火墙配置

# Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state –state ESTABLISHED,RELATED -j ACCEPT -A INPUT -p icmp -j ACCEPT -A INPUT -i lo -j ACCEPT……

openvpn服务端和客户端配置

yum install epel-release yum install openvpn #安装rsa生成密钥用 cd /usr/local/src/ wget https://cloud.github.com/downloads/OpenVPN/easy-rsa/easy-rsa-2.2.0_master.tar.gz tar -zxvf easy-rsa-2.2.0_master.tar.gz cp -R easy-rsa-2.2.0_master/easy-rsa/ /etc/openvpn/ #生成密钥 cd /etc/openvpn/easy……

git安装文档

服务端: #yum install -y git #adduser mazhenguo #mkdir /home/mazhenguo/.ssh/ 客户端操作 #ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification ……