# source: https://github.com/zanshin/dotfiles/blob/master/ssh/config
# archive: https://web.archive.org/web/20220327112444/https://github.com/zanshin/dotfiles/blob/master/ssh/config

Host *
#    UseRoaming no
    ServerAliveInterval 60
#    ForwardX11 yes
#    User mhn
#    PKCS11Provider /usr/local/lib/opensc-pkcs11.so

Host 10.251.* 10.252.*
  User ec2-user

#AWS sandbox account
Host 10.251.80.* 10.251.81.* 10.251.82.* 10.251.83.* 10.251.84.* 10.251.85.* 10.251.86.* 10.251.87.*
  IdentityFile ~/.ssh/baseline-sandbox.pem

#AWS dev account
Host 10.251.48.* 10.251.49.* 10.251.50.* 10.251.51.* 10.251.52.* 10.251.53.* 10.251.54.* 10.251.55.*
  IdentityFile ~/.ssh/baseline-dev.pem

#AWS prod account
Host 10.251.36.* 10.251.37.* 10.251.38.* 10.251.39.* 10.251.32.* 10.251.33.* 10.251.34.* 10.251.35.*
  IdentityFile ~/.ssh/baseline-prod.pem

#AWS dev west
Host "10.252.19?.*", "!10.252.190.*", "!10.252.191.*"
   IdentityFile ~/.ssh/baseline-dev-west.pem

#AWS shared
Host "10.251.6?.*", "!10.251.60.*", "!10.251.61.*", "!10.251.62.*", "!10.251.63.*", "10.251.7?.*"
   IdentityFile ~/.ssh/baseline-shared.pem


# Work iMac
Host fugazi
    HostName fugazi.est.ksu.edu
    User mhn

# AWS Linux Admin Workstation
# ssh -i ~/.ssh/admin-mhn-linux-key.pem mhn@10.251.129.148
Host admin
    HostName mhn-linux-admin.aws.ksu.edu
    User mhn
    IdentityFile ~/.ssh/mhn-admin-linux.pem
    PubKeyAuthentication yes
    # ChallengeResponseAuthentication yes
    # PasswordAuthentication yes

# Local Ubuntu VM PAW jumpbox
Host paw
    HostName 192.168.5.161
    User mhn

# EST Jump box
Host jump
#    HostName est-jump-p-mhn-01.campus.ksu.edu
    HostName est-jump-p-linux-01.campus.ksu.edu
    user mhn

# Ubuntu on NUC
Host fermata
#    HostName 68.102.23.189
    HostName 24.255.217.102
    Port 11105
    user mark

Host irc
#    HostName 68.102.23.189
    HostName 24.255.217.102
    Port 11116
    user mark

# Raspbian on Raspberry Pi
Host minuet
#    HostName 68.102.23.189
    HostName 24.255.217.102
    Port 11106
    user mark

# macOS Mojave on MacBook Pro
Host rosindust
#    HostName 68.102.23.189
    HostName 24.255.217.102
    Port 11110
    user mark

# Minion (while on home network)
Host minion
    HostName 192.168.5.67
    User mark


# Access GitHub even when port 22 isn't available
Host github.com
    HostName ssh.github.com
    Port 443

# Personal K-State Webpage
Host ksuunix
    HostName unix.ksu.edu
    User mhn

# Linode
Host linode
    HostName nc.zanshin.net
    User mark

# Pair hosting
Host pair
    HostName mnichols.pairserver.com
    User mnichols
