From c8ce380f104f70e526813f5d197510670c561bf8 Mon Sep 17 00:00:00 2001 From: josephrocca <1167575+josephrocca@users.noreply.github.com> Date: Fri, 21 Aug 2020 00:55:03 +1000 Subject: [PATCH] instanceIp --> username@instanceIp (#1921) * instanceIp --> username@instanceIp * [user]@ Co-authored-by: Anmol Sethi Co-authored-by: Anmol Sethi --- doc/guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guide.md b/doc/guide.md index 16c33fb43..11a8781c8 100644 --- a/doc/guide.md +++ b/doc/guide.md @@ -134,13 +134,13 @@ Restart `code-server` with (assuming you followed the guide): systemctl --user restart code-server ``` -Now forward local port 8080 to `127.0.0.1:8080` on the remote instance. +Now forward local port 8080 to `127.0.0.1:8080` on the remote instance by running the following command on your local machine. Recommended reading: https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding. ```bash # -N disables executing a remote shell -ssh -N -L 8080:127.0.0.1:8080 +ssh -N -L 8080:127.0.0.1:8080 [user]@ ``` Now if you access http://127.0.0.1:8080 locally, you should see `code-server`!