作者Adama (So Say We All.)
看板Linux
标题Re: [问题] 别人无法用ssh登入我的电脑
时间Fri May 30 16:06:10 2008
※ 引述《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