Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2020-09-18 15:19:30
Size: 995
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]接続方法 ''
Line 6: Line 7:
[SSH]接続方法
1.[[https://code.visualstudio.com/download|Microsoft Visual Stusio Code]]のインストール
2.VSCodeの起動
3.VSCodeのEXTENSIONSを選択して、SSH Remoteを検索、インストール
4./Users/xxx/.ssh配下へファイルを作成(既にある場合は不要)
''1.[[https://code.visualstudio.com/download|Microsoft Visual Stusio Code]]のインストール''
Line 12: Line 9:
Last login: Fri Sep 18 12:08:49 on ttys000
ikeda@SatoruIkedanoMacBook-Pro ~ % cd .ssh
ikeda@SatoruIkedanoMacBook-Pro .ssh % ls
config known_hosts
ikeda@SatoruIkedanoMacBook-Pro .ssh % less config
''2.VSCodeの起動''
Line 18: Line 11:
''3.VSCodeのEXTENSIONSを選択して、SSH Remoteを検索、インストール''
Line 19: Line 13:













''4./Users/xxx/.ssh配下へconfigファイルを作成(既にある場合は不要)''
Line 36: Line 17:
/Users/xxx/.ssh/config
{{{
Line 56: Line 39:
}}}
''5.DNSの検索ドメインの追加''
 Macの場合は[ネットワーク]-[DNS]-[検索ドメイン]へkagra.icrr.u-tokyo.ac.jpを追加

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

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)