別人無法用ssh登入我的電腦 - Linux

By Bennie
at 2008-05-30T16:06
at 2008-05-30T16:06
Table of Contents
※ 引述《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.
--
: [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.
--
Tags:
Linux
All Comments
Related Posts
請問crontab這段的意思是?

By David
at 2008-05-30T15:21
at 2008-05-30T15:21
別人無法用ssh登入我的電腦

By Leila
at 2008-05-30T14:47
at 2008-05-30T14:47
Re: 請問ssh問題

By Olive
at 2008-05-30T10:54
at 2008-05-30T10:54
solaris 9 架設DHCP的問題

By Steve
at 2008-05-30T10:44
at 2008-05-30T10:44
Re: 請問酷學園網站怎麼了嗎?

By Harry
at 2008-05-30T10:44
at 2008-05-30T10:44