[問題] ssh連線問題

看板Linux作者時間17年前 (2008/07/22 13:32), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/2 (看更多)
查看 /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進入系統中 謝謝 -- ▁▂ _________ johnny.bbs@ccy.twbbs.org ◢██◣◤ 暢春園 站務群 ▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅ 總舵主johnny __________________ d / _ 系統管理 為妳的嬌柔婉約,我無悔深情付出 ◥█\ o ▔▔▔▔▔▔▔▔▔ 為妳的一生幸福,我抱劍浪跡天涯 ▁▂ telnet://ccy.twbbs.org ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ -- Origin: 海洋大學˙暢春園 ccy.twbbs.org Author: johnny61-56-152-181-adsl-tan.STATIC.so-net.net.tw 發表

07/22 18:03, , 1F
看一下iptable設定?iptables -L啥的看看有沒有擋掉port 22
07/22 18:03, 1F
文章代碼(AID): #18XN3J00 (Linux)
文章代碼(AID): #18XN3J00 (Linux)