跳到主要內容

發表文章

目前顯示的是 3月, 2011的文章

Linux 封鎖SSH登入失敗

資料來源: centos 禁止SSH暴力扫描 DenyHosts 2.6版下載網址: DenyHosts 2.6 on SourceForge (更新日期2006-12-07) 下載、解壓縮、安裝: wget http://downloads.sourceforge.net/project/denyhosts/denyhosts/2.6/DenyHosts-2.6.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fdenyhosts%2Ffiles%2Fdenyhosts%2F2.6%2F&ts=1300349050&use_mirror=ncu tar -zxvf DenyHosts-2.6.tar.gz cd DenyHosts-2.6 python setup.py install cd /usr/share/denyhosts/ cp denyhosts.cfg-dist denyhosts.cfg vim denyhosts.cfg 設定: PURGE_DENY = 5m #過多久後清除已封鎖的 BLOCK_SERVICE = sshd #封鎖的服務 DENY_THRESHOLD_INVALID = 1 #允許無效帳號失敗的次數 DENY_THRESHOLD_VALID = 10 #允許一般帳號失敗的次數 DENY_THRESHOLD_ROOT = 5 #允許root失敗的次數 HOSTNAME_LOOKUP = NO #是否進行反查 ADMIN_EMAIL = admin@test.com #封鎖IP時寄發通知信 設定啟動: cp daemon-control-dist daemon-control vi daemon-control 啟動: chmod 700 daemon-control ./daemon-control start 設定自動啟動: vi /etc/rc.local 加入 /usr/share/denyhosts/daemon-control start cd /etc/init.d ln -s /usr/share/denyhosts/daemon-control denyhos

遠端桌面 for iPad - WinAdmin

iTunes網址: WinAdmin 售價8.99美金。 以上圖片來自iTunes軟體介紹的Screenshots。 在操控上的感覺還不錯,就是「拖曳」這個動作比較麻煩。 要先「雙點」(假設是食指),在點了第二下的時候, 手指要停留在畫面上。 這時候,如果只是要滑動滑鼠指標的話, 那就滑動食指即可。 若是要拖曳,例如應用程式ICON,或者改變視窗大小等, 則要動用到第二根手指頭(假設是中指),接觸到螢幕之後, 食指與中指再一起移動,就可以「拖曳」了。 以上是個人嘗試出來的用法,官方的說明擷取如下: •Tap to single click on the screen •Double tap to perform a double click •Tap and hold to perform a right click •Tap, Release, Tap Hold & Move to perform a drag operation (almost a double click, but leave your finger on the screen for the second tap – then just move your finger to drag). 另外,若要連上Windows 7(或Vista)的遠端桌面, 則PC端記得要將遠端桌面選項設定為「允許來自執行任何版本之遠端桌面的電腦進行連線」, 否則會一直連線失敗。