摘要: 1.查看编码 通过file命令 file filename 可以查看文件的编码2.编码转换 通过icnov命令 iconv -f UTF-16 -t UTF-8 sourceFile -o targetFile 此命令将UTF-16格式的sorceFile转换为UTF-8的targetFile 阅读全文
posted @ 2014-05-15 14:00 天外飞仙丶 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 服务器端配置 修改/etc/ssh/sshd_configTCPKeepAlive yes​ClientAliveInterval 60客户端配置 修改/etc/ssh/ssh_configTCPKeepAlive yesServerAliveInterval 60 阅读全文
posted @ 2014-05-15 11:38 天外飞仙丶 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 最近开发那边发现有一个SSH连接的问题,每次他从他的虚拟机连接我们这边服务器的时候,都会出现验证速度慢,要经过很长时间的没响应过程。研究了一下,发现是这样:SSH的配置文件sshd_config里有这么一个参数:vi /etc/ssh/sshd_config将GSSAPIAuthentication... 阅读全文
posted @ 2014-05-15 11:34 天外飞仙丶 阅读(1926) 评论(0) 推荐(0) 编辑