/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Linux/daemons/ssh/pubkey.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2013-11-08 01:07:23 UTC
  • Revision ID: csa@dside.dyndns.org-20131108010723-gfaem1vwkt6262m1
virtualization mainly

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Public Key Authentication
2
 
-------------------------
3
 
 
4
 
1. ���� ������������� private/public �����
5
 
    ssh-keygen -t rsa ( ��� -t dsa ) 
6
 
 ������ �������� ����� �� ��������� - ����� �������� �������� ����� ;)
7
 
 
8
 
2. /etc/ssh/sshd
9
 
    PubKeyAuthentication Yes
10
 
    AuthorizedKeysFile .ssh/authorized_keys (�� ��� ����� ������)
11
 
    
12
 
3. �� ������� � .ssh/authorized_keys �������� public key ( ��� ��������� 
13
 
   public ������ )
14
 
 
15
 
4. �� ������� � .ssh/id_rsa �������� private key, ���� ������ ����� 
16
 
    ���������: 0600 ( ������ ���� )
17
 
 
18
 
5. ���� ���� ������� ������������ ������, �� ��. ssh-add
 
 
b'\\ No newline at end of file'