E D R , A S I H C RSS

유용한�들


1. ��서를 만드는� 유용한것

1.1. Simple Text Indexer Using SQLite

2. ssh 관련

2.1. ssh login without password

  • 참고글
  • 구글ì—�서 ì–´ë–¤ 검색 키워드를 ë„£ëŠ�ëƒ�ì—� ë”°ë�¼ì„œ 삽질ì�„ 하ë�˜ì§€ 바로 해결하ë�˜ì§€ 한다는 것ì�„ 알았ì�Œ. 위 검색 키워드로 찾아 가면 위 참고글ì�´ 나오는ë�° 똑같ì�´ í•´ë�„ 안ë�  가능성ì�´ 높ì�Œ.
{{|
A : Client
B : Server
아래 명령어 실행시� Enter Passphrase �서 그냥 Enter 만 칠것
a@A:~> ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/a/.ssh/id_rsa):
Created directory '/home/a/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/a/.ssh/id_rsa.
Your public key has been saved in /home/a/.ssh/id_rsa.pub.
The key fingerprint is:
3e:4f:05:79:3a:9f:96:7c:3b:ad:e9:58:37:bc:37:e4 a@A

아래와 같� �으로 B 서버� .ssh ��가 만약 없다면 만들고.
a@A:~> ssh b@B mkdir -p .ssh
b@localhost's password:

public 키를 해당 ��� 해당 �름으로 저장
a@A:~> cat .ssh/id_rsa.pub | ssh b@B 'cat >> .ssh/authorized_keys'
b@B's password:

주��. 그리고 아래 � ��� 명령� 위 참고 ��대로 했�때 안� 수 있는 여지.
ssh b@B chmod 700 .ssh/
ssh b@B chmod 600 .ssh/authorized_keys

a@A:~> ssh b@B hostname

|}}
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:30:29
Processing time 0.0052 sec