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

Bennie avatar
By Bennie
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.

--
Tags: Linux

All Comments

請問crontab這段的意思是?

David avatar
By David
at 2008-05-30T15:21
請問大家 27 5 * * * /data/kkk_BACKUP f12gg567 還有 20 21 * * * /data/kkk_FTP 2 前面是分時日月周... 那最後的f12gg567根第二個的2分別是什麼意思呢atat? man crontab裡也沒有說到^^? - ...

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

Leila avatar
By Leila
at 2008-05-30T14:47
很抱歉很晚才回應各位大大 因為有些東西我不懂所以查了一下才執行各位大大的建議 目前我一樣有試著把 Firewall 和 SELinux 都先關閉 [rootatlocalhost ~]# ssh XXX.XXX.XXX.XXX ssh: connect to host XXX.XXX.XXX.XXX po ...

Re: 請問ssh問題

Olive avatar
By Olive
at 2008-05-30T10:54
※ 引述《lovevalensatkkcity.com.tw ( )》之銘言: : 請問一下我用ssh 連我另一台電腦連不上去 : 但用pietty 去連卻可以呢 試試看 指定你在遠端的登入帳號 ssh 你的帳號@登入的電腦ip 例如: ssh oodieat10.220.8.18 -- - ...

solaris 9 架設DHCP的問題

Steve avatar
By Steve
at 2008-05-30T10:44
不好意思 我想請問一下有誰有在solaris上架設dhcp server的經驗嗎? 環境是 solaris 9 bge0 : 10.10.1.1 bge1 : 192.168.1.1 PS: 有兩張網路卡,但只要收bge1的dhcp request 我的步驟是 1. dhcpco ...

Re: 請問酷學園網站怎麼了嗎?

Harry avatar
By Harry
at 2008-05-30T10:44
※ 引述《Maxsolar.bbsatOfO.twbbs.org (Astro v.s. Geo)》之銘言: : 例如 : http://www.study-area.org/freebsd/freebsdfr1.htm : http://www.study-area.org/linux/linuxfr1.h ...