Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2020-09-18 15:30:58
Size: 1020
Editor: satoru.ikeda
Comment:
Revision 5 as of 2020-09-18 15:37:34
Size: 1057
Editor: satoru.ikeda
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Microsoft Visual Stusio Code(VSCode)を用いた統合環境の構築 = Microsoft Visual Stusio Code(VSCode)を用いた統合環境の構築 =
Line 5: Line 5:
= [SSH]接続方法 = ''[SSH]接続方法 ''
Line 17: Line 17:
/Users/xxx/.ssh/config
{{{
Line 37: Line 39:
}}}

KAGRA/Subgroups/VIS/OpsManual/VisualStudioCode

Microsoft Visual Stusio Code(VSCode)を用いた統合環境の構築

[SSH]接続方法

1.Microsoft Visual Stusio Codeのインストール

2.VSCodeの起動

3.VSCodeのEXTENSIONSを選択して、SSH Remoteを検索、インストール

4./Users/xxx/.ssh配下へconfigファイルを作成(既にある場合は不要)

k1ctrX:端末番号(k1ctr1...k1ctrN)

/Users/xxx/.ssh/config

Host k1ctrX
 User controls
 port 22
 HostName k1ctrX

Host k1gate
 HostName 172.16.33.11
 User firstname.lastname
 Port 22

Host k1ctrX-icrr
 User controls
 port 22
 HostName k1ctrX
 ProxyCommand ssh k1gate -W %h:%p

Host k1script
 User controls
 port 22
 HostName k1script

5.DNSの検索ドメインの追加

  • Macの場合は[ネットワーク]-[DNS]-[検索ドメイン]へkagra.icrr.u-tokyo.ac.jpを追加

6.VSCodeのRemoteExplolerからK1ctrXを選択してパスワードを入力

KAGRA/Subgroups/VIS/OpsManual/VisualStudioCode (last edited 2020-09-18 15:37:34 by satoru.ikeda)