發表文章

目前顯示的是有「linux」標籤的文章

ssh without password

圖片
just a note I want to write a scrpit to achieve the "ssh no password" function in nutanix cluster first look at the "ssh no password" part script.. maybe one day will write..just maybe for windows client to linux server ssh without password is easy simply speaking create private key and public key from windows save the windows public key in linux server and load private key file while you ssh to linux server this is setting step lab environment linux server: 10.31.1.70 windows client: 10.31.1.68 need tool: PuTTY PuTTYgen we can download from https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html windows 1. start puttygen-> generate 2. copy public key code to txt 3. save private key file linux 1. verify ssh config /etc/ssh/sshd_config sudo vi /etc/ssh/sshd_config PubkeyAuthentication yes AuthorizedKeysFile      .ssh/authorized_keys check fil...