天天看点

杂记

<code>[www@xxxx_61 api]$ </code><code>ssh</code> <code>[email protected]</code>

<code>reverse mapping checking getaddrinfo </code><code>for</code> <code>. [1xxx.1xx.1xx.145] failed - POSSIBLE BREAK-IN ATTEMPT!</code>

ssh到主机,有错误提示,但是可以连接.ping主机发现无丢包行为.

解决办法:

修改提供ssh服务的主机(你要登录的主机),sshd参数.

<code>vim </code><code>/etc/ssh/sshd_config</code>

<code>GSSAPIAuthentication no</code>

<code>service sshd restart</code>

重新登录:

<code>[www@xxxx_61 root]$ </code><code>ssh</code> <code>[email protected]</code>

<code>Last login: Tue Sep  6 16:35:02 2016 from x.x.x.x</code>

没有错误提示了!

tcpdump使用

root@huwei:/home/huwei# tcpdump -i eth0 host 198.11.181.108

-i 指定网卡

host 指定ip

本文转自 yawei555 51CTO博客,原文链接:http://blog.51cto.com/huwei555/1846922,如需转载请自行联系原作者

继续阅读