ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÅäÖÃSSH£¬sftp,telnetµÈ·þÎñ

·¢²¼Ê±¼ä:2006-03-29 00:17:39À´Ô´:ºìÁª×÷Õß:golshing
ssh·þÎñºÍtelnet·þÎñ¶¼ÊÇÔ¶³ÌµÇ¼¿ØÖÆ·þÎñÆ÷£¬²»ÄÜʵÏÖÉÏ´«ÏÂÔØ£»
¿ªÆôssh·þÎñµÄ·½·¨ÊÇÔÚÖÕ¶ËÖ´ÐУº /etc/init.d/sshd start ¹Ø±ÕÖ´ÐУº /etc/init.d/sshd stop ÅäÖôò¿ªtelnet·þÎñ
ÔÚÖÕ¶ËÖ´ÐУº vi /etc/xinetd.d/telnet ´ò¿ªÎļþºó£¬½«ÀïÃæµÄdisable=yesÐÐÇ°Ãæ¼ÓÉÏ#×¢Ê͵ô£¬±£´æÍ˳ö£¬ÖØÐÂÆô¶¯xinetd·þÎñ /etc/rc.d/init.d/xinetd restart

×¢Ò⣬telnet²»ÔÊÐírootÓû§Ö±½ÓµÇ¼£¬ÐèÒªÄúÏȽ¨Á¢Ò»¸öÆÕͨÓû§£¬Ê¹ÓÃÕâ¸öÓû§µÇ¼£¬ÔÙת»»µ½rootÓû§¡£ ÏÞÖÆproftpdµÄÉÏ´«ÏÂÔØËÙÂÊ£º ÔÚ/etc/proftpd.confÎļþÖмÓÉÏ TransferRate RETR 50 # ÏÂÔØËÙÂÊÏÞÖÆÔÚ50Kbytes/s TransferRate STOR 100 #ÉÏ´«µÄËÙÂÊ¿ØÖÆÔÚ100Kbytes/s sftp·þÎñµÄÅäÖÃÎļþÊǶþ½øÖÆÎļþ£¬²»¿ÉÐ޸ģ¬Ò²²»ÄÜÏÞÖÆÓû§ÉÏ´«ÏÂÔØ£¬µ«ÊÇÄú¿ÉÒÔ½«sftp·þÎñ½ûÖ¹£¬ÕâÑùÆäËûÓû§¾Í²»ÄÜʹÓÃsftp·þÎñ£¬½ûÖ¹·½·¨ÊÇÖ´ÐУº vi /etc/ssh/sshd_config ½«ÎļþÖÐ×îºóÒ»Ðе÷ÓÃsftpµÄÓï¾äÇ°Ãæ¼ÓÉÏ#×¢Ê͵ô£¬±£´æÍ˳ö£¬ÖØÐÂÆô¶¯ssh·þÎñ¼´¿É£¬´ËʱscpÒ²²»ÄÜʹÓÃÁË¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 3 ÌõÆÀÂÛ

  1. xiang5206267 ÓÚ 2011-02-12 17:04:03·¢±í:

    ÄÄÀïÓÐlinuxѧϰµÄQQ½»Á÷Ⱥ¡£

  2. wei77582558 ÓÚ 2010-11-09 11:31:41·¢±í:

    ѧÁË

  3. byaries ÓÚ 2010-11-01 15:02:21·¢±í:

    ѧϰÁË