æ¥ã«ã¬ã³ã¿ã«ãµã¼ãã«sshã§ãã°ã¤ã³ã§ããªãã¦ããã£ãããµã¼ãã«DoSæ±ãããããã¨æãããªãã¼ãããããã©ããæ©ã¿ãªããã詳細表示(-v)ãã¦ã¿ã㨠% ssh -v [email protected]: SSH2_MSG_SERVICE_ACCEPT receiveddebug1: Authentications that can continue: publickey,gssapi-with-mic,passworddebug1: Next authentication method: gssapi-with-mic ããã§æ¢ã¾ã£ã¦ããã試ãã« Windowsã®puttyã§sshãã°ã¤ã³ãã¦ã¿ãã¨ããã¯ãä½ãåé¡ãªãã åé¡ã®ç«¯æ«ã¯ Ubuntu 9.10 ã§/etc/ssh/ssh_config 㧠GSSAPIAuthentication yesã¨ãªã£ã¦ãããã¨ããããã G
LinuxVPSï¼ ä½¿ãããã£ã¨ãå¥ç´ãã§ãsshã§å ¬ééµã®ãã¡ã¤ã«ããªã¢ã¼ãå´ã«éä¿¡ããå¾ãç¹ããã¨ããã Permission denied (publickey,gssapi-with-mic). ã¨è¨ããã¦æãããã/var/log/secure(ãªã¢ã¼ãå´)ãåç §ãã㨠Authentication refused: bad ownership or modes for directory /home/[ã¦ã¼ã¶ã¼å]/.ssh ã¨ã®ãã¨ã調ã¹ã¦ã¿ãããªã¢ã¼ãå´ã®.sshãã£ã¬ã¯ããªã®Permissionã744ã«ãªã£ã¦ãããããã700ã«å¤æ´ã次ãã§ã«å ¬ééµãã¡ã¤ã«ã®Permissionã644ãã600ã«å¤æ´ãã§ããªãã©ã¤ãããä¸æãããã¾ããã
æè¿Linux(CentOS)ã触ãããã«ãªãã¾ãããã åãå´ã«ssh public_keyãç»é²ãã¦ããã©ããã¦ããã¹ã¯ã¼ãèªè¨¼ã«ãªã£ã¦ãã¾ãã Permission denied (publickey,gssapi-with-mic,password). ã¨ãã§ã¾ãã çµè«ããããã¨ã ~/.ssh 㨠~/.ssh/authorized_keys ã®ã¢ã¯ã»ã¹æ¨©ãã¡ããã¨è¨å®ï¼700 㨠600ï¼ããã ããå¿ è¦ãããã ããããã°ãåãå´ã¯æåã§ä½ã£ãã®ã§ãããã©ã«ãã®755ã¨644ã ã£ãã åä½ç¢ºèªãã¦ãããå¾ã§ã¡ããã¨è¨å®ããã°ãããã¨ãããã£ã¦ãã FreeBSDãããã ã£ãããªãã»ã»ã»
ã¦ãã®ä¼ç¤¾ã¯æãªã³ã©ã¤ã³æ¸åºã¨å¥ç´ãäºã ã®è©±ã¯ã¾ã£ããããã¾ãããé¢ä¿è ããç´æ¥è©±ãèããããã§ããªãã®ã§ãããããæ¸ããã¨ã¯ããã¾ã§ãããã§ã®è©±é¡ãè¦ã¦å°ããªåºç社ã®å¶æ¥çãªä»äºããã¦ããå人ã¨ãã¦æã£ããã¨ã 55%ã¨ãããã¼ã¸ã³ã¯ãå¸æå°å£²ä¾¡æ ¼ãã«å¯¾ãã¦ã®ãã®ã§ãããå®éã®è²©å£²ä¾¡æ ¼ã«å¯¾ãã¦ã§ã¯ãªãã¨ã®ãã¨ãå¤å¼ãã«ã¤ãã¦ã©ããªãã®ãããããããªããã©ãé»åæ¸ç±ã¯ãå販å¶ã®å¯¾è±¡ã§ã¯ãªããã¨ããå¤æã¯åºç社ã»ãªã³ã©ã¤ã³æ¸åºã¨ãå ±æãã¦ããã¯ããªã®ã§ãããããæå³ã§ã¯å°æ¥çãªå¤å¼ãã¯å åã«ããããã¨èãã¦ãããã§ãããï¼ 55%ã¨ãããã¼ã¸ã³ãèãã¦ããããåé¡ã§å£²ãæã®ãã¨ã¾ã§èãã¦ããã ãªãã¨ããã®ãæåã®æããåé¡ã§å£²ã£ã¦5%ã®ãã¼ã¸ã³ãã®ãªã®ãªãã¨ãããããã ã¨ãã¤ããã©ãç®çã«ãããªããããããã«ãããã ãããªãã æãªã³ã©ã¤ã³æ¸åºã¯é»åæ¸ç±ã®å¤ä»ãã¨ãããã¨ã念é ã«ç½®ãã¦ããã¯
å°ããããããå ãã«èå³ããã£ã¦ãè²ã ã¨åå¼·ãã¦ãããã¡ã«ã©ãã©ã好ãã«ãªããçããã«ãå ãã®è¯ããç¥ã£ã¦ã»ããã¦è¨äºãæ¸ãã¦ãã¾ãã ç¥ãåãã«å ã師ãéè½åè ãã寺ã®ä½è·ãããããããã®ã§ããã®æ¹ãã¡ã«ã¤ã³ã¿ãã¥ã¼ãã¦è¨äºãæ¸ãã¦ãã¾ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}