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

By Audriana
at 2008-05-29T15:11
at 2008-05-29T15:11
Table of Contents
※ 引述《zerogw (穆 N)》之銘言:
: 我使用的是fedora 4 要請別人用ssh登入進我電腦
: 但是當別人輸入
: [root@linux ~]# ssh root@我的IP位置
: 就會停在那邊很久 然後最後出現無法連線的訊息
: 我試者照鳥哥的步驟執行看看是否ssh server有沒有在執行
: [root@linux ~]# /etc/init.d/sshd restart
: [root@linux ~]# netstat -tlp
: Active Internet connections (only servers)
: Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
: tcp 0 0 *:ssh *:* LISTEN 24266/sshd
: 也出現像上面的情況 State 是 LISTEN
: 也執行過/etc/rc.d/init.d/sshd start 來重起ssh
: 也檢查過防火牆和SELinux 並沒有擋住ssh
: 想請問各位大大要怎麼讓別人連進我電腦
: 是否有什麼沒有注意到的?
如果是用root登入的話,檢查看看/etc/ssh/sshd_config裡面有沒有這一行,
PermitRootLogin yes
--
: 我使用的是fedora 4 要請別人用ssh登入進我電腦
: 但是當別人輸入
: [root@linux ~]# ssh root@我的IP位置
: 就會停在那邊很久 然後最後出現無法連線的訊息
: 我試者照鳥哥的步驟執行看看是否ssh server有沒有在執行
: [root@linux ~]# /etc/init.d/sshd restart
: [root@linux ~]# netstat -tlp
: Active Internet connections (only servers)
: Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
: tcp 0 0 *:ssh *:* LISTEN 24266/sshd
: 也出現像上面的情況 State 是 LISTEN
: 也執行過/etc/rc.d/init.d/sshd start 來重起ssh
: 也檢查過防火牆和SELinux 並沒有擋住ssh
: 想請問各位大大要怎麼讓別人連進我電腦
: 是否有什麼沒有注意到的?
如果是用root登入的話,檢查看看/etc/ssh/sshd_config裡面有沒有這一行,
PermitRootLogin yes
--
Tags:
Linux
All Comments
Related Posts
Re: 請問酷學園網站怎麼了嗎?

By Daph Bay
at 2008-05-29T15:06
at 2008-05-29T15:06
[新聞] 校園拒用盜版 推廣自由軟體

By Gilbert
at 2008-05-29T13:40
at 2008-05-29T13:40
別人無法用ssh登入我的電腦

By Michael
at 2008-05-29T12:22
at 2008-05-29T12:22
proftp該如何限制不同dns的登入?

By Hedwig
at 2008-05-29T10:43
at 2008-05-29T10:43
kernel 2.6.24.17感覺問題多多...

By Andy
at 2008-05-29T08:50
at 2008-05-29T08:50