Login
Immutable PageDiscussionInfoAttachments

Revision 2 as of 2021-04-21 22:49:43

Clear message
maccha/ssh_config

MMA

ForwardAgent yes
ServerAliveInterval 60
PreferredAuthentications publickey


Match host sunrise,saga,atlas
  ProxyJump nest
  User maccha


Host sol
  HostName sol.edu.cc.uec.ac.jp
  User hoge
  IdentityFile ~/.ssh/id_rsa_sol

Host ied
  HostName remote.ied.inf.uec.ac.jp
  User hoge
  IdentityFile ~/.ssh/ied_id_rsa

Host sol2ied
  HostName sol.edu.cc.uec.ac.jp
  User hoge
  LocalForward 5901 localhost:5901
  IdentityFile ~/.ssh/id_rsa_sol

Host vncied
  HostName bxx.ied.inf.uec.ac.jp
  User hoge
  LocalForward 5901 bxx.ied.inf.uec.ac.jp:5901
  IdentityFile ~/.ssh/ied_id_rsa
  ProxyCommand ssh -CW %h:%p sol2ied


# sol reachable servers
Host nest
  HostName nest.mma.club.uec.ac.jp
  User maccha
  IdentityFile ~/.ssh/id_rsa_nest
  ProxyJump sol

# nest reachable servers
Host sunrise
  HostName sunrise

Host saga
  HostName saga

Host atlas
  HostName atlas

Host mmagit
  HostName gitlab.mma.club.uec.ac.jp
  IdentityFile ~/.ssh/id_rsa_mma_gitlab
  User git