Skip to content

Instantly share code, notes, and snippets.

@sensoria-pro
Created February 25, 2024 17:22
Show Gist options
  • Select an option

  • Save sensoria-pro/3496f271091227bb1e4c8d14a7910f1f to your computer and use it in GitHub Desktop.

Select an option

Save sensoria-pro/3496f271091227bb1e4c8d14a7910f1f to your computer and use it in GitHub Desktop.

Revisions

  1. sensoria-pro created this gist Feb 25, 2024.
    22 changes: 22 additions & 0 deletions SSH Client configuration example
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    Host *.com
    StrictHostKeyChecking no
    User user_root
    ForwardAgent yes
    IdentityFile /Users/username/.ssh/id_rsa
    IdentitiesOnly yes
    UserKnownHostsFile=/dev/null
    UseKeychain yes
    AddKeysToAgent yes
    ServerAliveInterval 60
    ServerAliveCountMax 1200
    Host std-*
    StrictHostKeyChecking no
    User user_ci
    ForwardAgent yes
    IdentityFile /Users/username/.ssh/id_rsa_second
    IdentitiesOnly yes
    UserKnownHostsFile=/dev/null
    UseKeychain yes
    AddKeysToAgent yes
    ServerAliveInterval 60
    ServerAliveCountMax 1200