修改 /etc/ssh/sshd_config
加入一行 UseDNS no
另一個方法:
把client 端的 ip & hostname 加到 ssh server 那台電腦裡的 /etc/hosts
....simple life
加入一行 UseDNS no
把client 端的 ip & hostname 加到 ssh server 那台電腦裡的 /etc/hosts
deb http://ftp.twaren.net/Linux/Ubuntu/ubuntu/ gutsy main universe restricted multiverse
deb-src http://ftp.twaren.net/Linux/Ubuntu/ubuntu/ gutsy main universe restricted multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ gutsy-security main restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ gutsy-security main restricted
deb http://tw.archive.ubuntu.com/ubuntu/ gutsy-security universe
deb-src http://tw.archive.ubuntu.com/ubuntu/ gutsy-security universe
deb http://tw.archive.ubuntu.com/ubuntu/ gutsy-security multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ gutsy-security multiverse
deb http://ftp.twaren.net/Linux/Ubuntu/ubuntu/ gutsy-updates universe main multiverse restricted
deb-src http://ftp.twaren.net/Linux/Ubuntu/ubuntu/ gutsy-updates universe main multiverse res
eth0 : 對外網卡使用固定ip
eth1 : 對內網卡使用class c ip : 192.168.1.1
auto lo
iface lo inet loopbackauto eth0
iface eth0 inet static
address 140.118.x.x
netmask 255.255.255.0
gateway 140.118.202.254auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 140.118.2.53;
option ip-forwarding off;
range dynamic-bootp 192.168.1.100 192.168.1.200;
default-lease-time 21600;
max-lease-time 43200;
}
$ sudo apt-get install apt-file
$ sudo apt-file update
$ sudo apt-file search orphaner
dahb-html: usr/share/doc/dahb-html/html/bilder/instweiter/orphaner.png
dahb-html: usr/share/doc/dahb-html/html/bilder/instweiter/orphaner.png
dahb-html: usr/share/doc/dahb-html/html/bilder/instweiter/orphaner.png
deborphan: usr/sbin/orphaner
deborphan: usr/sbin/orphaner
deborphan: usr/sbin/orphaner
deborphan: usr/share/man/fr/man8/orphaner.8.gz
deborphan: usr/share/man/fr/man8/orphaner.8.gz
deborphan: usr/share/man/fr/man8/orphaner.8.gz
deborphan: usr/share/man/man8/orphaner.8.gz
deborphan: usr/share/man/man8/orphaner.8.gz
deborphan: usr/share/man/man8/orphaner.8.gz
deborphan: usr/share/man/pl/man8/orphaner.8.gz
deborphan: usr/share/man/pl/man8/orphaner.8.gz
deborphan: usr/share/man/pl/man8/orphaner.8.gz
在 /etc/dhcp3/dhclient.conf 中增加如下設定:prepend domain-name-servers <ip1>, <ip2>;
echo "nameserver 140.118.2.53" >> /etc/resolve.conf
/dev/sda1 /media/win_c ntfs-3g silent,umask=0,locale=zh_TW.utf8
/media/win_c/apen /home/fyodor/apen none bind 0 0
$apt-get install nessus nessusd nessus-plugins
$nessus-adduser
$nessus-update-plugins
$nessus-update-plugins-gpl
$nessusd -D (以demon模式啟動,載入plugins要很久...)
$nessus -q -V -T html_graph localhost 1241 [username] [password] ip_list report.html
mono
$sudo apt-get install mono mono-gmcs mono-gac mono-utils monodevelop
文件
$sudo apt-get install monodoc mono-xsp monodoc-http
其他更多文件
$sudo apt-get install monodoc-ipod-manual monodoc-njb-manual monodoc-nunit-manual monodoc-gtk-manual monodoc-gtk2.0-manual monodoc-gecko2.0-manual
package manager
$sudo apt-get install monodevelop-java monodevelop-nunit monodevelop-versioncontrol
可執行asp.net 1.1/1.2的web server
$sudo apt-get install monodevelop-java monodevelop-nunit monodevelop-versioncontrol
或是可執行asp.net的apache2
$sudo apt-get install mono-apache-server2 libapache2-mod-mono
$ sudo mkdir /usr/local/arm
$ sudo mv cross-2.95.3.tar.bz2 /usr/local/arm
$ sudo tar jxvf /usr/local/arm/cross-2.95.3.tar.bz2
$ sudo echo "export PATH=$PATH:/usr/local/arm/2.95.3/bin" >> ~/.bashrc
$ sudo echo "export PATH=$PATH:/usr/local/arm/2.95.3/bin" >> /etc/profile
$ sudo echo "export$ PATH=$PATH:/usr/local/arm/2.95.3/bin" >> /etc/bashrc
service telnet
{
disable = no
socket_type = stream
protocol = tcp
wait = no
user = telnetd
server = /usr/sbin/in.telnetd
}
$ sudo /etc/init.d/xinetd restart
2009 All Rights Reserved All About My Life.
Blogger Templates created by Deluxe Templates • Wordpress designed by Acosmin