Skip to content

Commit c8ce380

Browse files
josephroccanhooyr
andauthored
instanceIp --> username@instanceIp (#1921)
* instanceIp --> username@instanceIp * [user]@<instance-ip> Co-authored-by: Anmol Sethi <[email protected]> Co-authored-by: Anmol Sethi <[email protected]>
1 parent c6f054a commit c8ce380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/guide.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,13 +134,13 @@ Restart `code-server` with (assuming you followed the guide):
134134
systemctl --user restart code-server
135135
```
136136

137-
Now forward local port 8080 to `127.0.0.1:8080` on the remote instance.
137+
Now forward local port 8080 to `127.0.0.1:8080` on the remote instance by running the following command on your local machine.
138138

139139
Recommended reading: https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding.
140140

141141
```bash
142142
# -N disables executing a remote shell
143-
ssh -N -L 8080:127.0.0.1:8080 <instance-ip>
143+
ssh -N -L 8080:127.0.0.1:8080 [user]@<instance-ip>
144144
```
145145

146146
Now if you access http://127.0.0.1:8080 locally, you should see `code-server`!

0 commit comments

Comments
 (0)