Skip to content

Instantly share code, notes, and snippets.

@ehzawad
Created August 25, 2024 03:58
Show Gist options
  • Save ehzawad/d704ecbffe14b09f3586a8171f97882d to your computer and use it in GitHub Desktop.
Save ehzawad/d704ecbffe14b09f3586a8171f97882d to your computer and use it in GitHub Desktop.
# Intermediate server (Jump Host)
Host jumphost
HostName 45.251.56.227
User root
IdentityFile ~/.ssh/id_rsa_legacy
PubkeyAuthentication yes
PasswordAuthentication yes
PreferredAuthentications publickey,password
ConnectTimeout 30
ServerAliveInterval 60
HostKeyAlgorithms +ssh-rsa,ssh-dss
PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss
# Target server
Host target
HostName 192.168.214.12
User root
# ProxyJump jumphost
ProxyCommand ssh -W %h:%p jumphost
# ForwardAgent yes
# Intermediate server
# this is gplex asr tts server
Host intermediate
HostName 192.168.10.98
User root
IdentityFile ~/.ssh/vscode_key
PubkeyAuthentication yes
PasswordAuthentication no
PreferredAuthentications publickey
ConnectTimeout 30
ServerAliveInterval 60
Host mtb
HostName 10.45.57.103
User appadm
proxyJump intermediate
# ProxyCommand ssh -W %h:%p intermediate
Host onehundredfive
# New server
# gplex demo server
HostName 192.168.11.105
User root
IdentityFile ~/.ssh/vscode_key
PubkeyAuthentication yes
PasswordAuthentication no
PreferredAuthentications publickey
ConnectTimeout 30
ServerAliveInterval 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment