From dc4e39a51cd94b8372f3678002c3bf040a7d015f Mon Sep 17 00:00:00 2001 From: spuzkov Date: Thu, 19 Mar 2026 12:36:00 +0100 Subject: [PATCH] Removed unnecessary command and included ~/.ssh path prefix for clarity --- content/security/ssh-key.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/content/security/ssh-key.md b/content/security/ssh-key.md index 920489a..20dd28c 100644 --- a/content/security/ssh-key.md +++ b/content/security/ssh-key.md @@ -186,7 +186,7 @@ git config --global gpg.format ssh 2. Set the SSH signing key to your public key: ```shell -git config --global user.signingKey '' +git config --global user.signingKey '~/.ssh/' ``` 3. Sign commits by default: @@ -195,12 +195,6 @@ git config --global user.signingKey '' git config --global commit.gpgSign true ``` -4. Check your current configuration: - -```shell -git config -l --global -``` - ## Avoid re-typing the passphrase Assuming you've created a secure key with a passphrase, SSH will prompt you for your passphrase for every connection.