监控 aix ssh log
来源:互联网 发布:淘宝店能卖熟食吗 编辑:程序博客网 时间:2024/06/11 06:59
最近客户的 监控软件不能 ssh2 到 目标主机,
用如下方法监控:
**********************************************
1. assign the log file for auth logging
# touch /var/adm/auth.log
# chmod 640 /var/adm/auth.log
2. turn on auth logging
# vi /etc/syslog.conf
Append the following line to the bottom:
auth.debug /var/adm/auth.log
Save, Exit, then:
# refresh –s syslogd
3: 看auth.log:
截取一部份:
Jan 28 10:43:04 hgpsfe01 auth|security:info sshd[1597562]: Accepted password for patrol from 146.215.127.94 port 55753 ssh2
Jan 28 10:43:04 hgpsfe01 auth|security:info sshd[946560]: Disconnecting: Remote login for account patrol is not allowed.
Jan 28 10:46:19 hgpsfe01 auth|security:info sshd[2503044]: Accepted password for patrol from 146.215.127.94 port 55873 ssh2
Jan 28 10:46:20 hgpsfe01 auth|security:crit sshd[2875396]: fatal: Couldn't wait for child: There are no child processes.
Jan 28 10:46:20 hgpsfe01 auth|security:crit sshd[2875398]: fatal: Couldn't wait for child: There are no child processes.
可以看到哪个ip connect with the server.
------------
至于linux 的情况,可以 test 一下。
- 监控 aix ssh log
- AIX Error log 简介及其自动化监控机制
- aix性能监控
- aix性能监控
- AIX系统监控
- AIX 性能监控
- AIX 监控磁盘性能
- AIX进程监控工具
- Install ssh for AIX
- AIX 安装ssh
- AIX 5.3安装SSH .
- AIX 5.3安装SSH
- AIX安装ssh
- AIX系统性能监控命令
- AIX进程监控与管理
- AIX进程监控与管理
- AIX系统性能监控命令
- AIX进程监控与管理
- 豆瓣Javascript代码风格规范
- 辗转相除法计算最大公约数
- TLS 局部线程储存 一个演示小例子
- 使用statspack进行oracle性能分析
- 豆瓣CSS开发规范
- 监控 aix ssh log
- 查找资料的好地方
- POJ 2661 Factstone Benchmark 斯特林(stirling公式)应用
- 用栈实现括号匹配的检验
- fgagarerr
- Django 笔记
- mfc 类库中方法的详细讲解
- 深入理解Java初始化的含义
- 程序员的角度看《盗梦空间》