看板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