From a450a92fbc3ef30ab68647c94f9c7e4f2f76f4a8 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Tue, 14 May 2024 00:09:14 +0200 Subject: [PATCH] SSH and Git Config --- .config/ssh/config | 11 +++++++++++ .gitignore | 4 ++++ .ssh | 1 + 3 files changed, 16 insertions(+) create mode 100644 .config/ssh/config create mode 120000 .ssh diff --git a/.config/ssh/config b/.config/ssh/config new file mode 100644 index 0000000..cdf9ab3 --- /dev/null +++ b/.config/ssh/config @@ -0,0 +1,11 @@ +Host git.euph.dev + User git + HostName git.euph.dev + PreferredAuthentications publickey + IdentityFile ~/.ssh/gitea-snoweuph + +Host github.com + User git + HostName github.com + PreferredAuthentications publickey + IdentityFile ~/.ssh/github-snoweuph diff --git a/.gitignore b/.gitignore index 8586e61..65e04fc 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,7 @@ # Include config !.config/ + + +# Include ssh Symlink +!.ssh diff --git a/.ssh b/.ssh new file mode 120000 index 0000000..b268541 --- /dev/null +++ b/.ssh @@ -0,0 +1 @@ +./.config/ssh \ No newline at end of file