E D R , A S I H C RSS

유용한팁들


1. 를 만드는데

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.0120 sec