How to set icase sensitive to hostname via ssh connection?
You know this....."Please check connection of 3000 servers..." and output is excel when hostname are upper case lower case ....
Why people using excel? For torturing linux administrators!
solution:
1) create in your home directory file .ssh/config
vi .ssh/config
2) StrictHostKeyChecking=no
martin@princ_bajaja:~$ cat .ssh/config
StrictHostKeyChecking=no
Our outputs:
ssh root@fire-lsns
root@fire-lsns:~#
ssh root@FIRE-LSNS
root@fire-lsns:~#
now it is time for the life saving of Slovakia :
root@fire-lsns:~# echo "oh shit, I am stupid idiot" > /boot/grub2/grub.cfg ; reboot
Source:
Žiadne komentáre:
Zverejnenie komentára