看板Linux
标 题[问题] ssh连线问题
发信站畅春园 (Tue Jul 22 13:18:22 2008)
转信站ptt!ctu-reader!ctu-gate!news.nctu!news.ntu!news.ind.ntou!news.ntou!CCY
查看 /var/loh/auth.log 显示如下
Jul 22 10:21:56 ubuntu sshd[4765]: Received SIGHUP; restarting.
Jul 22 10:21:56 ubuntu sshd[5918]: Server listening on 0.0.0.0 port 22.
输入 ps aux | grep sshd 显示如下
root 5918 0.0 0.3 5316 1000 ? Ss 10:21 0:00 /usr/sbin/sshd
root 6554 0.0 0.3 3008 772 pts/0 R+ 13:12 0:00 grep sshd
输入 netstat -ptl 显示如下
tcp 0 0 *:ssh *:* LISTEN
5918/sshd
tcp 0 0 localhost:ipp *:* LISTEN
4825/cupsd
tcp6 0 0 [::]:5900 [::]:* LISTEN
5536/vino-server
看起来似乎没有啥问题
但是一直无法连线进入
而在 /etc/hosts.allow 与 /etc/hosts.deny 这两个档案也查过
没有作任何的限制
请问该修改那些地方
才能使用ssh进入系统中
谢谢
--
▁▂ _________ [email protected]
◢██◣◤ ▕ 畅春园 站务群 ▏ ▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅
▉ ◤ ◥ ▕ 总舵主johnny ▏ __________________
d / ◢ ▕_ 系统管理 ▏ ▏ 为你的娇柔婉约,我无悔深情付出 ▕
◥█\ o◤◤ ▔▔▔▔▔▔▔▔▔ ▏ 为你的一生幸福,我抱剑浪迹天涯 ▕
◥▁▂ ◥◥◤ telnet://ccy.twbbs.org ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--
◤◥ Or
igin:
海洋大学˙畅春园 ccy.twbbs.org
◣◢ A
uthor:
johnny 从
61-56-152-181-adsl-tan.STATIC.so-net.net.tw 发表
1F:→ psboy:看一下iptable设定?iptables -L啥的看看有没有挡掉port 22 07/22 18:03