1 Eylül 2015 Salı

sifresiz ssh baglantisi icin yapilmasi gerekenler


[ayse@A ~]$ ls .ssh

id_rsa  id_rsa.pub  known_hosts



[ayse@A ~]$ ssh-copy-id -i .ssh/id_rsa.pub ayse@192.168.0.44


ayse@192.168.0.44's password:
Now try logging into the machine, with "ssh 'ayse@192.168.0.44'", and check in:

  .ssh/authorized_keys

to make sure we haven't added extra keys that you weren't expecting.




[ayse@A ~]$ ssh ayse@192.168.0.44

Last login: Tue Sep  1 09:34:39 2015 from ....



ayse$ logout
Connection to 192.168.0.44 closed.



[ayse@A ~]$ vi .ssh/config



buraya:


host 44

hostaname 192.168.0.44

user ayse




yazarak kaydediyoruz


[

ayse@A ~]$ ssh 44

Bad owner or permissions on /home/ayse/.ssh/config


[ayse@A ~]$ chmod 600 .ssh/config


[ayse@A ~]$ ssh 44

Hiç yorum yok:

Yorum Gönder