Oct 10, 2022
SSH can bridge through different servers with
-J, so we can use our non-root user as a bridge to reach the root.
Append the following config to
/etc/ssh/sshd_config to allow us to SSH into root on localhost:
Copy the key and restart the SSH service:
Then use this command in VSCode: