SSH Configuration

Home PDF Audio

This ssh-config file configures SSH client behavior. Let’s break down each part:

In essence, this configuration sets up a proxy for all SSH connections except those on the local network, and it configures key management for convenience.

Host 192.168.1.*
    UseKeychain yes
    AddKeysToAgent yes
    IdentityFile ~/.ssh/id_rsa 
Host * !192.*.*.* !47.*.*.*
    ProxyCommand corkscrew localhost 7890 %h %p
Host *
    UseKeychain yes
    AddKeysToAgent yes
    IdentityFile ~/.ssh/id_rsa    

Back 2025.02.22 Donate