- 论坛徽章:
- 0
|
原帖由 repol 于 2006-3-10 09:35 发表
感谢了,一年没上网了,上网就找到了,呵呵
对了,还有就是在BSD下,双网卡,用PUTTY登陆不了,用单网卡就行,这是什么问题呢
ListenAddress
Another default to consider changing is the ListenAddress setting. On a machine with only one NIC, this won't matter. On machines with two or more NICs, typically routers and firewalls, the default is to listen on all network interfaces. Often on machines with more than one network card there will be good reasons for restricting ssh access to a specific card or cards. The ListenAddress can be used to restict sshd to listening only on the specified NICs. Assuming the Port has already been set, all that is needed is to place the IP address of the NIC to be allowed after the ListenAddress option. If the machine has three or more network cards, more than one ListenAddress option may be used. If a ListenAddress option is provided, any NIC that has not been specified will not accept ssh connections. |
|