Open jinmyeongAN opened 1 year ago
config
~/.ssh
Host aitech HostName 49.50.165.225 User root Port 2229 IdentityFile ~/.ssh/key
📌 If you already have any other Host, you can just add your new Host. It doesn't matter. 😉
shift + command + P
Remote-SSH Open SSH Configuration file
~/.ssh/config
\
Remote-SSH Connect to Host
HostName
aitech
Happy Hacking 😘
1. Make or modify
config
file~/.ssh
, make config file📌 If you already have any other Host, you can just add your new Host. It doesn't matter. 😉
2. Write down the absolute path in vscode.
shift + command + P
(open command palette)Remote-SSH Open SSH Configuration file
~/.ssh/config
📌 Be careful not to use backslash (\
)3. Connect to Host
Remote-SSH Connect to Host
HostName
you made. In my case,aitech
HostName
4. Enjoy your coding
Happy Hacking 😘