Skip to content

Commit 16290bb

Browse files
committed
Update EC2 to further explain credentials
1 parent 6adacf1 commit 16290bb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎ec2/README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ PORT=80 node server.js
165165
```
166166
visit the site http://YOUR-IP-HERE
167167

168+
(NOTE: At this point, after executing `sudo -i`, you are logged in as the root user. If you try to update your repository, e.g. with `git pull origin master`, your credentials will be rejected by github. Your key is specific to the ubuntu user. You need to be logged in regularly as `ubuntu`. Type `ctrl + c` to logout of root and it will log you back in as ubuntu.)
169+
168170
This will do in a pinch, but it's not a professional setup. What happens if your
169171
server reboots? You want something to re-start the server automatically.
170172

0 commit comments

Comments
 (0)