回文章列表
作者Adama.bbs@ptt.cc (So Say We All.) 看板: linux
標題Re: [問題] 別人無法用ssh登入我的電腦
時間批踢踢實業 (2008/05/30 Fri 16:06:13)
※ 引述《zerogw (穆�� ��N)》之銘言:
: [root@localhost ~]# nc HOST PORT
: nc: port range not valid
: 這個就不懂這什麼意思了 >"<
囧  顯然你根本沒查吧 XD 用過man nc??
HOST是你要連的位址,PORT是你的ssh port
你總不會期望我知道你的機器位址吧

: 我也查過sshd_config
: #LoginGraceTime 2m
: #PermitRootLogin yes
: #StrictModes yes
: #MaxAuthTries 6
: 有這些 然後我有試過把#去掉 但是結果一樣不能連
變動過sshd_config後要restart sshd service才會生效
不過如果PermitRootLogin一開始是mark起來的話,
代表root可以連 (預設值)

建議你不要急就章亂試指令,免得後悔 XD

--
The 4400     ~ A Place In Time ~              [Amanda Abizaid]

So long ago, another life, I can feel your heartbeat.
It's not a dream, remember us. I can see it in your eyes.
We'll find our place in time, a place in time beyond the sun.
We'll find our place in time, a place in time to call our own.

--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 140.112.102.157
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻