SSHã®ç§å¯éµãªãããã®ã§ä½ãç´ãã æ¯åããã£ã¦ããã®ã§èªåç¨ã®ã¡ã¢ï¼ã§ããã£ã¨æ¬¡åããããã ãããªâ¦ï¼ local> ssh-keygen ï¼ç§å¯éµ ~/.ssh/id_rsa, å ¬ééµ ~/.ssh/id_rsa.pubï¼ ãããã®VPSã³ã³ããã¼ã«ããã«ã§ãªã¢ã¼ãã³ã³ã½ã¼ã«ãããã°ã¤ã³ããã remote $ sudo vi /etc/ssh/sshd_config ï¼PasswordAuthentication yesã«å¤æ´ï¼ remote $ sudo /etc/init.d/sshd restart å ¬ééµã転é local> cd .ssh local> scp -P PORTNUMBER id_rsa.pub LOGINNAME@HOSTNAME:id_rsa.pub remote$ mkdir ~/.ssh remote$ mv ~/id_rsa.pub ~/.ssh
{{#tags}}- {{label}}
{{/tags}}