Відмінності між версіями «Ssh»

Матеріал з Wiki Welard
Перейти до навігації Перейти до пошуку
Рядок 3: Рядок 3:
 
     1 opened up '''puttygen.exe'''
 
     1 opened up '''puttygen.exe'''
  
−
    2 generated a key after wiggling your mouse
+
    2 generated a key after wiggling your mouse
 
       entered a strong passphrase
 
       entered a strong passphrase
 
       saved the public key to something like
 
       saved the public key to something like

Версія за 15:31, 30 березня 2009

Щоб при вході на linux машину через ssh авторизувало по ключу

   1 opened up puttygen.exe
   2 generated a key after wiggling your mouse
     entered a strong passphrase
     saved the public key to something like
     pubkey
   3 saved the private key to something like
     privatekey.ppk
   4 moved your public key up to the server
    (maybe even) converted the format of the key from putty to openssh with something like
     ssh-keygen -if pubkey > pubkey_openssh_format
   5 changed some permissions like
     chmod 600 .ssh
   6 added your pubkey to the authorized_keys file with something like
     mv pubkey .ssh/authorized_keys
   7 changed your putty settings under "connection > SSH > auth" to use
     privatekey.ppk
   8 tried to connect and...