サイズ: 1035
コメント:
|
サイズ: 1762
コメント:
|
削除された箇所はこのように表示されます。 | 追加された箇所はこのように表示されます。 |
行 1: | 行 1: |
#acl maccha:admin,read,write,delete,revert, Known:read All:read |
|
行 2: | 行 4: |
# setting | |
行 4: | 行 7: |
PreferredAuthentications publickey | #PreferredAuthentications publickey |
行 7: | 行 10: |
Match host sunrise,saga,atlas ProxyJump nest User maccha |
# 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 |
行 12: | 行 25: |
Host sol HostName sol.edu.cc.uec.ac.jp User hoge IdentityFile ~/.ssh/id_rsa_sol |
# IED |
行 18: | 行 27: |
HostName remote.ied.inf.uec.ac.jp User hoge |
Hostname remote.ied.inf.uec.ac.jp User k1910192 |
行 22: | 行 31: |
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 |
## 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 |
行 33: | 行 40: |
ProxyCommand ssh -CW %h:%p sol2ied | #ProxyJump sol ProxyJump ied LocalForward 5901 bXX.ied.inf.uec.ac.jp:5901 |
行 36: | 行 45: |
# sol reachable servers | # MMA Match Host atlas,hime,saga ProxyJump nest |
行 38: | 行 50: |
HostName nest.mma.club.uec.ac.jp | Hostname nest.mma.club.uec.ac.jp |
行 43: | 行 55: |
# nest reachable servers | |
行 45: | 行 56: |
HostName 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 |
行 48: | 行 76: |
HostName saga Host atlas HostName atlas |
User maccha IdentityFile ~/.ssh/id_rsa_saga |
行 55: | 行 81: |
User git | |
行 56: | 行 83: |
User git |
# 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 User git IdentityFile ~/.ssh/id_rsa_mma_gitlab