Upgrade to Pro — share decks privately, control downloads, hide ads and more …

はじめてのしくじり /fjordbootcamp-211009

 はじめてのしくじり /fjordbootcamp-211009

haruna tsujita

October 08, 2021
Tweet

More Decks by haruna tsujita

Other Decks in Programming

Transcript

  1. ൿີ伴 ެ։伴 $ ssh-keygen -t rsa ΫϥΠΞϯτଆ 
 ʢࣗ෼ʣ αʔόʔଆ

    
 ʢ͘͞ΒVPSͳͲʣ ྫɹ$ ΛҰൠϢʔβʔͩͱ෼͔͍ͬͯͳ͔ͬͨ
  2. 2.ެ։伴Λஔ͘৔ॴΛ༻ҙ 
 $ mkdir .ssh ΫϥΠΞϯτଆ 
 ʢࣗ෼ʣ αʔόʔଆ 


    ʢ͘͞ΒVPSͳͲʣ ྫɹ$ϚʔΫ͕ҰൠϢʔβʔͩͱ෼͔͍ͬͯͳ͔ͬͨ 1.ઃఆϑΝΠϧΛૢ࡞ $ vi /etc/ssh/sshd_config
  3. permission denied. ެ ։ 伴 ΫϥΠΞϯτଆ 
 ʢࣗ෼ʣ αʔόʔଆ 


    ʢ͘͞ΒVPSͳͲʣ ൿີ伴 ྫɹ$ϚʔΫ͕ҰൠϢʔβʔͩͱ෼͔͍ͬͯͳ͔ͬͨ