Jump to content

/etc/ssh/ssh_config (1)

From RaySoft
# ------------------------------------------------------------------------------
# ssh_config
# ==========
#
# Scope     Native
# Copyright (C) 2025 by RaySoft, Zurich, Switzerland
# License   GNU General Public License (GPL) 2.0
#           https://www.gnu.org/licenses/gpl2.txt
#
# ------------------------------------------------------------------------------

Match user="alex" host="*.raysoft.loc"
    ControlMaster auto
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_ed25519_ray@localServer.pub

Match user="container" host="*.raysoft.loc"
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_ed25519_container@localServer.pub

Match user="admin" host="*.raysoft.loc"
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_ed25519_admin@localNetwork.pub

Match user="alex" host="*.metanet.ch"
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_ed25519_unixfishle@internet.pub
    Port 2121

Match user="alex" host="codeberg.org,github.org"
    ControlMaster auto
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_ed25519_rplCloud@cloudGit.pub

Host *
    Ciphers aes256-gcm@openssh.com
    ControlPath ~/.ssh/sockets/%r@%h:%p
    ControlPersist 10m
    HashKnownHosts yes
    HostKeyAlgorithms ssh-ed25519
    KexAlgorithms curve25519-sha256
    MACs hmac-sha2-512-etm@openssh.com

# ------------------------------------------------------------------------------