From 60ea35f486ff31c4e9c77512279b6ce45592f041 Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Thu, 2 Sep 2021 12:48:23 +0400 Subject: [PATCH] add ssh pub key --- setup.sh | 1 + ssh/key.pub | 1 + ssh/setup.ps1 | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 ssh/key.pub create mode 100644 ssh/setup.ps1 diff --git a/setup.sh b/setup.sh index c099fdf..da334ab 100644 --- a/setup.sh +++ b/setup.sh @@ -20,5 +20,6 @@ sudo chmod +x /usr/local/bin/oh-my-posh pwsh -c ./shell/setup.ps1 pwsh -c ./git/setup.ps1 +pwsh -c ./ssh/setup.ps1 pwsh diff --git a/ssh/key.pub b/ssh/key.pub new file mode 100644 index 0000000..3cffffa --- /dev/null +++ b/ssh/key.pub @@ -0,0 +1 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDB9m6C9Jwov6HssZRIJhwgKFhFkYui1At9ew/jKcvJ3UsXbZCzbkXqT5Fn/ngHMPGGzy1iwCfMODPsiGD1LE8ZMT3N/Pbej79oB5QEfHrVQCSMUpcLPIZiN+4DUkwGGe+sJfz3qv70n+2hb5NILW8R1B/xu1pOCj7fYgtIwyJjtb+4wKxqmT9RL/3TXRSvWyTD9W2/kqFpwE0L5Zz4/oee8Yz+tWY4RLt6+Km2SfTYqk384jYsU8OzX8wptXjJak4pkhuU+wa7I3zSjoIhVuxxTMyzyPoRPPae4EWIMXwTvVIYi5ITOGeYwTACRQCflYdoIw+OP2Wz8NMY7C2wvAp1 laurent@PC_LLH \ No newline at end of file diff --git a/ssh/setup.ps1 b/ssh/setup.ps1 new file mode 100644 index 0000000..a488698 --- /dev/null +++ b/ssh/setup.ps1 @@ -0,0 +1,2 @@ +mkdir -p ~/.ssh +cat ./ssh/key.pub >> ~/.ssh/authorized_keys \ No newline at end of file