!!!This content has not been translated yet!!!

büyülü değil artık kelimeler...
öyle bir oyun oynadın ki bana;
anladım ki kelimelerle oynamak çok da büyük bir sanat değilmiş aslında.

 
 

linux sistemlerde şifre yazmadan ssh girişi (public key ile) PDF Print E-mail
Salı, 24 Ağustos 2010
!!!This content has not been translated yet!!!
  1. localhostta public private key ikilisi oluşturulur.
     
     ssh-keygen -t dsa

  2. remote hostta .ssh dizini yaratılır.
     
       mkdir .ssh

  3. localhosttaki public key remote hosttaki authorized_keys dosyasına eklenir.
     
       cat ~/.ssh/id_dsa.pub | ssh <user>@<remote-host> "cat >> ~/.ssh/authorized_keys"

  4. eğer çalışmıyorsa dosya izinleri kontrol edilir. gerekiyor ise chmod ile gerekli izinler verilir. olması gereken izinler:
     
       (remotehost)
       .ssh                    700
       .ssh/authorized_keys    600
     
       (localhost)
       .ssh                    700
       .ssh/id_dsa             600
       .ssh/id_dsa.pub         644
 
Next >
Creative Commons License
programmer: n. an organism that turns caffeine into software.
original solarflare design by rhuk
lunarized by joomlashack

My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!