ログイン
編集不可のページディスカッション情報添付ファイル

検索条件 "linkto:"maccha/ssh_config"" に対して、結果は0件でした。条件を変更するか、 HelpOnSearching を参照してください。

メッセージを消す
maccha/ssh_config

MMA

# setting
ForwardAgent yes
ServerAliveInterval 60
#PreferredAuthentications publickey


# UEC
Host sol
  Hostname sol.edu.cc.uec.ac.jp
  User k1910192
  IdentityFile ~/.ssh/id_rsa_sol

## ssh tunnel of sol (Port Fowarding, Local Forward)
#> ssh sol.edu.cc.uec.ac.jp -L 8080:proxy.uec.ac.jp:8080 -l k1910192
Host soltnl
  Hostname sol.edu.cc.uec.ac.jp
  User k1910192
  IdentityFile ~/.ssh/id_rsa_sol
  LocalForward 8080 proxy.uec.ac.jp:8080


# IED
Host ied
  Hostname remote.ied.inf.uec.ac.jp
  User k1910192
  IdentityFile ~/.ssh/ied_id_rsa

## vnc
# remote desktop, IED machine
# Portforwarding, LocalForward
# (localhost:5901) <--- (sol XOR ied) ---> (bXX.ied.inf.uec.ac.jp:5901)
#> ssh sol -L 5901:bXX.ied.inf.uec.ac.jp:5901 && ssh bXX.ied.inf.uec.ac.jp
Host iedvnc
  Hostname bXX.ied.inf.uec.ac.jp
  User k1910192
  IdentityFile ~/.ssh/ied_id_rsa
  #ProxyJump sol
  ProxyJump ied
  LocalForward 5901 bXX.ied.inf.uec.ac.jp:5901


# MMA
Match Host atlas,hime,saga
  ProxyJump nest

Host nest
  Hostname nest.mma.club.uec.ac.jp
  User maccha
  IdentityFile ~/.ssh/id_rsa_nest
  ProxyJump sol

Host sunrise
  Hostname sunrise.mma.club.uec.ac.jp
  User maccha
  IdentityFile ~/.ssh/id_rsa_sunrise
  ProxyJump sol

Host moon
  Hostname moon.mma.club.uec.ac.jp
  User maccha
  IdentityFile ~/.ssh/id_rsa_moon
  ProxyJump sol

Host atlas
  User maccha
  IdentityFile ~/.ssh/id_rsa_atlas

Host hime
  User maccha
  IdentityFile ~/.ssh/id_rsa_hime

Host saga
  User maccha
  IdentityFile ~/.ssh/id_rsa_saga

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

参考

MMA

他の方がどのように設定しているか、参考にした。

外部

ポートフォワーディングについて

ssh_configの記法を知った。