¾Ù¸ö¼òµ¥µÄÀý×ÓŶ
»ú·¿ÍøÂçÍØÆËÈçͼÏ£º
»·¾³ËµÃ÷£º
ÌìÌåÎïÀíÑо¿ÖÐÐÄ£¬µ¶Æ¬Ê½·þÎñÆ÷£¬Ò»¸öÖ÷½ÚµãDSP(Á½¸öÍø¿¨£¬Ò»¸ö¾ÖÓòÍøÍø¿¨eth0:192.168.100.1,УÄÚÍøÍø¿¨ eth1:222.195.76.158),16¸ö¼ÆËã½Úµã£¬IPµØÖ·´Ó192.168.100.101~192.168.100.116,ÒªÇó¸ø rootÓû§ÊµÏÖÎÞÃÜÂëµÇ ·
ÅäÖÃÈçÏ£º
Ö÷¿Ø½Úµã192.168.100.1(Ï൱ÓÚÉÏÊöµÄ¿Í»§¶Ë)£¬¼ÆËã½Úµã192.168.100.101(Ï൱ÓÚÉÏÊöµÄ·þÎñ¶Ë)¡£
²½Ö裺
Ê×Ïȱà¼192.168.100.101µÄÅäÖÃÎļþ/etc/ssh/sshd_config ½«AuthorizedkeyFile(¿Í»§¶Ë¹«Ô¿µÄÎļþ·¾¶)µÄÐÐ×¢ÊÍÈ¡Ïûµô¡£
È»ºó£¬Óÿͻ§¶Ë192.168.100.1½¨Á¢×Ô¼ºµÄ˽ԿºÍ¹«Ô¿¡£
ssh-keygen -t rsa
È«²¿»Ø³µ
²é¿´/root/.sshĿ¼ÏµÄËù²úÉúµÄ˽Կ¶Ô(id_rsa)ºÍ¹«Ô¿¶Ô(id_rsa.pub)£¬½«Ë½Ô¿µÄȨÏÞ¸ÄΪ½öÓû§¿É¶Á£¬¼´660£¬ÔÚ½«¹«Ô¿¶Ô¸´ÖƵ½Ã¿Ì¨¼ÆËã½ÚµãÉÏ£¬²¢½«¹«Ô¿¶ÔµÄÄÚÈݸ½µ½AuthorizedkeyFileÎļþÄÚÈÝÖ®ºó
Ö÷£ºscp id_rsa.pub root@192.168.100.101:/root/.ssh
»ú£ºcat id_rsa.pub >> authorized_keys
»ú£ºrm -rf id_rsa.pub
×îºó²âÊÔ¼´¿É¡£
ÍƼöÐÅÏ¢
- linuxÃüÁîѧϰ±Ê¼Ç£¨11£©£ºnlÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨5£©£ºrmÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨4£©£ºmkdirÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨1£©£ºlsÃüÁî
- ½«CentosµÄyumÔ´¸ü»»Îª¹úÄڵİ¢ÀïÔÆÔ´
- ʹÓÃNginxÌí¼Óheader·ÀÖ¹ÍøÒ³±»frame
- linuxϼÓËÙscp´«Êä´óÎļþµÄËÙ¶È
- linuxϵͳÉ϶ÔnginxÈÕÖ¾·Ö¸î´¦Àí
- lnmp/nginxϵͳÕæÕýÓÐЧµÄͼƬ·ÀµÁÁ´ÍêÕûÉèÖÃÏê½â
- Í»ÆÆÊ®Íò²¢·¢µÄNginxµÄÅäÖü°ÓÅ»¯
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- ²éÕÒ²¢É¾³ý.svnĿ¼Îļþ
- redis ÆßÖÖÊý¾ÝÀàÐ͵ÄʹÓó¡¾°
- linux ÏÂÎļþ¸´ÖƵ½windowsÏÂÂÒÂëµÄ½â¾ö°ì·¨
- nginx³öÏÖ502 upstream sent too big he....
- linuxÏÂsudoÅäÖÃÏê½â
- linuxÃüÁîѧϰ±Ê¼Ç£¨15£©£ºtailÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨14£©£ºheadÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨13£©£ºlessÃüÁî
- linuxÃüÁîѧϰ±Ê¼Ç£¨12£©£ºmoreÃüÁî
- ¼ÓÃÜËã·¨±È½Ï3DES AES RSA ECC MD5 SHA1µÈ
ÆÀÂÛ