[其它]遠端登入-SSH和登入FTP時反應好慢!



贊助商連結


teddychu
2002-08-15, 11:07 PM
就跟題目差不多,我用PUTTY登入主機十,反應都好慢...(一開始)

但是我在別人家裡用登入時,速度都還可以∼

我記得有人幫我弄過,可以讓他變的更快(FTP登入也是一樣)

不知道大家知不知道?

贊助商連結


repsol
2002-08-15, 11:15 PM
反查問題???
試試將遠端的hostname 寫在你欲login的主機的 /etc/hosts

teddychu
2002-08-15, 11:24 PM
最初由 repsol 發表
反查問題???
試試將遠端的hostname 寫在你欲login的主機的 /etc/hosts
沒錯!就是反查!

是寫在「hosts.conf」?(很多個)

repsol
2002-08-15, 11:34 PM
最初由 築夢 發表

沒錯!就是反查!

是寫在「hosts.conf」?(很多個)

只要寫在/etc/hosts
就可以了
/etc/hosts
除了記住本身主機的hostname
另外增加需要遠端remote的ip與hostname就可以了..
ex :
如果你要從192.168.254.124 遠端登入192.168.254.123
就必須在192.168.254.123 修改/etc/hosts如下

192.168.254.123 repsol.home.com repsol ===>本機的ip與hostname
192.168.254.124 repsol1.home.com repsol1 === > 遠端remote的機器與ip

teddychu
2002-08-15, 11:41 PM
127.0.0.1 localhost.kuha.com.tw localhost
210.68.2.171 www.kuha.com.tw www
210.68.2.171 www.kuha.com.tw.
210.68.2.169 210.68.2.169.
這樣子對嗎?

repsol
2002-08-15, 11:50 PM
man hosts

DESCRIPTION
The hosts file contains information regarding the known hosts on the network.
For each host a single line should be present with the following information:


Internet address
official host name
aliases

gerrybbs
2002-08-17, 11:13 PM
針對 proftpd 可以加上這兩行

UseReverseDNS off
IdentLookups off