Re: [問題] ssh

看板Linux作者 (11)時間16年前 (2010/02/05 23:07), 編輯推噓4(400)
留言4則, 4人參與, 最新討論串2/2 (看更多)
※ 引述《kok45 (11)》之銘言: : 請問 有關SSH : 我可以 ping 到自己的 hostname (xxx.dyndns.org) : ssh localhost 也沒問題 : 但是 ssh xxx.dyndns.org 的時候 : 就出現: ssh: connect to host kiani.dyndns.org port 22: Connection refused : 我有check /etc/ssh/ssh_config 裏面 port 22 也有開 : router 的防火牆 也關掉了 : 請問可能的問題是??? : 感謝 推 appleboy46:iptables 規則列出來看看?y 02/05 00:07 → appleboy46:router的防火牆? ip 分享器? 02/05 00:09 推 abelamos:DNS? 02/05 00:41 → node1:查看sshd是否啟動?/etc/init.d/sshd status 我的 sshd 有啟動 router的防火牆也有關掉 詳細說明一下 我家是用中華電信ADSL 直接接到 router 我的電腦 是連無線網路 因為沒有固定 ip 所以有申請 dynamic DNS router 內有設定 dynamic dns 相關設定 他會會自動 map 到 xxxxx.dyndns.org 我 ping 的到 這個網址 也可以 ssh localhost 但是就是不能直接 ssh xxx@xxxxx.dyndns.org 他都會顯示 connection refused 請問一下有人可以指導一下嘛 @@ 感謝感謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.168.76.147

02/05 23:37, , 1F
檢查tcp_wrappers相關設定
02/05 23:37, 1F

02/05 23:47, , 2F
router要設port forwarding吧...
02/05 23:47, 2F

02/06 00:16, , 3F
Adama說的是正確的,需要router forward給PC
02/06 00:16, 3F

02/09 11:29, , 4F
去設定一下NAT或是DMZ看看...
02/09 11:29, 4F
文章代碼(AID): #1BR3GRyf (Linux)
討論串 (同標題文章)
本文引述了以下文章的的內容:
5
8
16年前, 02/04
完整討論串 (本文為第 2 之 2 篇):
4
4
16年前, 02/05
5
8
16年前, 02/04
文章代碼(AID): #1BR3GRyf (Linux)