ssh
完成したymlファイル(testは容量がかかるので、コメントアウトにしている) version: 2 jobs: # test: # machine: # image: circleci/classic:edge # steps: # - checkout # - run: # name: docker-compose build # command: docker-compose build # - run: #…
結論 ec2のセキュリティグループでもう一度マイipを選択し直す。 なぜ port22に入るipが変わっている可能性があるから。家には複数のwifiがあり、たまに切り替わる。そこでipが変わってしまったから、ファイアーウォールが入れてくれなかったんだと思う。 っ…
今理解していること →pubの内容を保存しておく場所 ~/.ssh/authorized_keys: Holds a list of authorized public keys for servers. When the client connects to a server, the server authenticates the client by checking its signed public key stored …
まとめるとknown_hostsとは「公開鍵認証のSSHでログインしたサーバのホスト鍵を記録し,次回からのホスト認証で利用されるファイル」である. https://a-mochan.hatenablog.com/entry/2019/12/20/141036#:~:text=まとめるとknown_hostsとは,されるファイル」…
[kazumawada@ip-10-0-0-197 rails]$ git clone git@github.com:kazumawada/myapp.git Cloning into 'myapp'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and th…