-
Notifications
You must be signed in to change notification settings - Fork 18
/
yydspure.sh
9 lines (8 loc) · 2.81 KB
/
yydspure.sh
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
# [email protected]:okyyds/yydspure.git
if [ ! -f "/root/.ssh/id_rsa" ]; then
mkdir -p /root/.ssh
echo -e "-----BEGIN OPENSSH PRIVATE KEY-----\nb3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn\nNhAAAAAwEAAQAAAYEAxF2ZmybpKlxt4+nz+3GIptGz8iYBSwVrhM97u5ehoMB8BE1SD/fr\nYTUuUEShb2hCJxG8fsiFw0IqGMj8yZa4EU0ZuOkkkZ6xJUTRvAtaII2UMZGsXKC3jp6mZI\n5OmVtcaXjYy63wWENEkl03ZNBJC5btuBQtvEoSYRroN/aaZaYQtn/XBX5g1AsR4B5+p992\nQnzbwWPmULCbusPo/pw4/XkXmObuPWgGFnrAmgb61mcVeFmPofFi7v2TFWqZ/+0XNiVK/T\nOvcXw00zyqr4zg9M+tLNIVXz7sBOmAW1gT0w3dfq5wgEsOydJnpJWFrR1YDMchR7X4kNKU\niTcypjoBMZ2QhxY826AIU9VigpoGatmkCNzFJzYGIsd9SyFr4YvOvzve9q2Z0y4ssBzk1X\nG1mXLC2pY2IzZfxbK+vTdjwRmRTkICUbCJEDFB7NkUX5Evro/CjbqexeGZc+uNsGKD/GWu\ntyAY7auwJVLskYpotKg89B5He1Fm6yESYVxwtP9NAAAFiP2tI4j9rSOIAAAAB3NzaC1yc2\nEAAAGBAMRdmZsm6SpcbePp8/txiKbRs/ImAUsFa4TPe7uXoaDAfARNUg/362E1LlBEoW9o\nQicRvH7IhcNCKhjI/MmWuBFNGbjpJJGesSVE0bwLWiCNlDGRrFygt46epmSOTplbXGl42M\nut8FhDRJJdN2TQSQuW7bgULbxKEmEa6Df2mmWmELZ/1wV+YNQLEeAefqffdkJ828Fj5lCw\nm7rD6P6cOP15F5jm7j1oBh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LTkcL1lZTw2ubJ/MJLNUo69MAAADBAOkJTbiButmIbzID\ns+xl+c86Xbx/t21HFi876cFIRvcAiqWbSJqIrFaOMxhSRUDc40b96xpZou2gGYzLMne/a7\nxsnnFic9yJeU6DDlCnx/eQgCy6eiQUMQBx2kXwKO/aKUr5d2pCkFjNhbyeiUyb10vH43Aj\nlHM9RJ5PY7UbF0B9GOJWfBBO6dgCsv07hzI/3d0gIQ5pX1Uy5cxEfKekyDYBbCjCBLV1fl\nrspQatBROxES2aXqS69LazPnxi75RDrwAAAMEA17c4xmYEwCOfABOdfeji2kXJQgJKRecE\n4VcSNTyqTXGnvhnfUBpdkyxfq0ykdRn+KUciVSt8xHcp/UJMaX/Rn0pZo5w6MY01/vBbRH\nSwKQMb+gAIB61PGGK76XhomXzVPCg6rYfxfo0cLuPDpn3xuj/Q/3U5e188JzLCruUoQeTQ\nNWp63RSP87cTvEahROUoX+82rvz7WywUG3Qiafqb1IE78dnq2EN5sOam5ntqJLWCqOm1HB\ng17zcQXXhVMN/DAAAAEW9reXlkc0Bva3l5ZHMuY29tAQ==\n-----END OPENSSH PRIVATE KEY-----" > /root/.ssh/id_rsa
chmod 600 /root/.ssh/id_rsa
ssh-keyscan github.com > /root/.ssh/known_hosts
fi