Uploaded March 2026 | Updated September 2026, 1 week ago
Description:
Running Claude Code as root on your VPS is a real security risk.
In this tutorial, I'll walk you through creating a non-root user on your Hostinger VPS, setting up SSH access, and installing Claude Code safely so it runs with proper guardrails from day one. If you're already running Claude Code on your VPS as root, this is the video to watch before you go any further.
What You Will Learn:
Root vs. non-root — why running Claude Code as root is risky
Non-root user setup — create a user with its own directory
Sudo privileges — borrow root access only when needed
SSH key setup — copy your public key to the new user
SSH config on Mac — add a shortcut for the new user
Claude Code native install — recommended Linux method from the docs
Authorization — sign in with Claude Pro or Max
📌 Links:
🔗 Official Claude Code Docs:
docs.anthropic.com/en/docs/claude-code/getting-started
Get Hostinger VPS (n8n for free):
https://www.hostg.xyz/SHIDN
▶️ Tutorials:
Hostinger VPS: How To Create a Non-Root Sudo User
youtu.be/00mrjyTB_Lk?si=zTtrJqPrlg_OOaVu
Hostinger VPS: How To Generate & Add SSH Keys
youtu.be/6--d2faQSFY
How To Connect To Your Hostinger VPS Using SFTP:
youtu.be/5JVdlFoeYwU
Requirements:
Hostinger VPS
Root User Access
Claude Subscription (Pro or Max)
Claude Code Install Command:
curl -fsSL claude.ai/install.sh | bash
🕒 Timestamps:
00:00 Intro: About The Tutorial
00:43 Root User
01:24 Root User Risks
02:07 Solution: Create Non-Root User
03:20 Sudo Priveleges
04:21 Step-By-Step Overview
05:32 Prerequisites
06:19 Check Username (whoami)
06:45 Create & Save Password
07:05 Create New User (VPS Terminal)
08:15 GECOS Information
08:58 Add To Sudo Group
09:36 Switch Users
10:54 SSH Keys
12:35 How does SSH work?
13:37 SSH Key + Multiple Users
15:04 Edit .SSH Config (Mac)
16:12 Copy Public SSH Key To New User
19:08 Nano Editor SSH (Mac)
21:23 Exit Nano Text Editor
22:04 Test: SSH to VPS (Mac Terminal)
23:07 Install Claude Code!!!
24:59 Add Claude Code to PATH
25:49 Launch Claude Code
26:56 Authorize Claude Code (Browser)
28:42 Confirm Claude Code Install
30:46 Claude + Sudo Commands
------------Code Snippets--------------------------
Check your current user:
whoami
Create a new non-root user:
adduser mike
Add user to the sudo group:
usermod -aG sudo mike
Switch to new user (with home directory):
su - mike
Copy public SSH key to new user's directory (run as root):
mkdir -p /home/mike/.ssh
cp /root/.ssh/authorized_keys /home/mike/.ssh/authorized_keys
chown -R mike:mike /home/mike/.ssh
chmod 700 /home/mike/.ssh
chmod 600 /home/mike/.ssh/authorized_keys
Edit SSH config on Mac (add new host shortcut):
nano ~/.ssh/config
Add a new entry with your VPS IP address and new username, then save with Ctrl+O → Return → Ctrl+X
Connect via SSH as the new user:
ssh hostinger-vpn-mike
Install Claude Code (native Linux install, run as non-root user):
curl -fsSL claude.ai/install.sh | sh
Add Claude Code to PATH (run the command provided after install):
Verify the install:
claude --version
Launch Claude Code:
claude
Run the health check inside Claude Code:
/doctor
——————⭐ Resources ⭐———————
➜Gear I Use: mikemurphy.co/resources
➜Adobe After Effects: mikemurphy.co/adobe
➜Terrapin Textures: terrapintextures.com
➜ Adobe Audition Course (Domestika): mikemurphy.co/domestika
➜Amazon Influencer Store: amazon.com/shop/mikemurphyco
➜See All My Gear: mikemurphy.co/podgear
➜ Get Adobe Creative Cloud: mikemurphy.co/adobe
➜ Screenflow: mikemurphy.co/screenflow
——————⭐ Follow Me ⭐———————
➜ Website: mikemurphy.co
➜ Podcast: mikemurphy.co/mmu
➜ Instagram: instagram.com/mikeunplugged
➜ X: http://x.com/mikeunplugged
➜ YouTube: mikemurphy.co/youtube
Amazon Associates Disclosure:
Mike Murphy is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
#claudecode #hostinger #vps #linuxsecurity #nonrootuser #sshkeys #ubuntuserver #aitools #anthropic #developertools #terminal #selfhosted #vpssetup #claudeai #aiagents
Description:
Running Claude Code as root on your VPS is a real security risk.
In this tutorial, I'll walk you through creating a non-root user on your Hostinger VPS, setting up SSH access, and installing Claude Code safely so it runs with proper guardrails from day one. If you're already running Claude Code on your VPS as root, this is the video to watch before you go any further.
What You Will Learn:
Root vs. non-root — why running Claude Code as root is risky
Non-root user setup — create a user with its own directory
Sudo privileges — borrow root access only when needed
SSH key setup — copy your public key to the new user
SSH config on Mac — add a shortcut for the new user
Claude Code native install — recommended Linux method from the docs
Authorization — sign in with Claude Pro or Max
📌 Links:
🔗 Official Claude Code Docs:
docs.anthropic.com/en/docs/claude-code/getting-started
Get Hostinger VPS (n8n for free):
https://www.hostg.xyz/SHIDN
▶️ Tutorials:
Hostinger VPS: How To Create a Non-Root Sudo User
youtu.be/00mrjyTB_Lk?si=zTtrJqPrlg_OOaVu
Hostinger VPS: How To Generate & Add SSH Keys
youtu.be/6--d2faQSFY
How To Connect To Your Hostinger VPS Using SFTP:
youtu.be/5JVdlFoeYwU
Requirements:
Hostinger VPS
Root User Access
Claude Subscription (Pro or Max)
Claude Code Install Command:
curl -fsSL claude.ai/install.sh | bash
🕒 Timestamps:
00:00 Intro: About The Tutorial
00:43 Root User
01:24 Root User Risks
02:07 Solution: Create Non-Root User
03:20 Sudo Priveleges
04:21 Step-By-Step Overview
05:32 Prerequisites
06:19 Check Username (whoami)
06:45 Create & Save Password
07:05 Create New User (VPS Terminal)
08:15 GECOS Information
08:58 Add To Sudo Group
09:36 Switch Users
10:54 SSH Keys
12:35 How does SSH work?
13:37 SSH Key + Multiple Users
15:04 Edit .SSH Config (Mac)
16:12 Copy Public SSH Key To New User
19:08 Nano Editor SSH (Mac)
21:23 Exit Nano Text Editor
22:04 Test: SSH to VPS (Mac Terminal)
23:07 Install Claude Code!!!
24:59 Add Claude Code to PATH
25:49 Launch Claude Code
26:56 Authorize Claude Code (Browser)
28:42 Confirm Claude Code Install
30:46 Claude + Sudo Commands
------------Code Snippets--------------------------
Check your current user:
whoami
Create a new non-root user:
adduser mike
Add user to the sudo group:
usermod -aG sudo mike
Switch to new user (with home directory):
su - mike
Copy public SSH key to new user's directory (run as root):
mkdir -p /home/mike/.ssh
cp /root/.ssh/authorized_keys /home/mike/.ssh/authorized_keys
chown -R mike:mike /home/mike/.ssh
chmod 700 /home/mike/.ssh
chmod 600 /home/mike/.ssh/authorized_keys
Edit SSH config on Mac (add new host shortcut):
nano ~/.ssh/config
Add a new entry with your VPS IP address and new username, then save with Ctrl+O → Return → Ctrl+X
Connect via SSH as the new user:
ssh hostinger-vpn-mike
Install Claude Code (native Linux install, run as non-root user):
curl -fsSL claude.ai/install.sh | sh
Add Claude Code to PATH (run the command provided after install):
Verify the install:
claude --version
Launch Claude Code:
claude
Run the health check inside Claude Code:
/doctor
——————⭐ Resources ⭐———————
➜Gear I Use: mikemurphy.co/resources
➜Adobe After Effects: mikemurphy.co/adobe
➜Terrapin Textures: terrapintextures.com
➜ Adobe Audition Course (Domestika): mikemurphy.co/domestika
➜Amazon Influencer Store: amazon.com/shop/mikemurphyco
➜See All My Gear: mikemurphy.co/podgear
➜ Get Adobe Creative Cloud: mikemurphy.co/adobe
➜ Screenflow: mikemurphy.co/screenflow
——————⭐ Follow Me ⭐———————
➜ Website: mikemurphy.co
➜ Podcast: mikemurphy.co/mmu
➜ Instagram: instagram.com/mikeunplugged
➜ X: http://x.com/mikeunplugged
➜ YouTube: mikemurphy.co/youtube
Amazon Associates Disclosure:
Mike Murphy is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
#claudecode #hostinger #vps #linuxsecurity #nonrootuser #sshkeys #ubuntuserver #aitools #anthropic #developertools #terminal #selfhosted #vpssetup #claudeai #aiagents



![U2L6 How To Create & Manage Layers on the Timeline of After Effects
In this lesson, you will learn how to create and manage Layers and the basics of using the Layers & Timeline Panel.
Exercise Files:
https://dub.sh/aeugfiles
1. Introduction to Layers
1. Layers allow you to organize and manipulate different media elements.
2. Similar to layers in Photoshop and other graphic editors.
3. Add Solids, Shapes, Text, Image, Video, PSD, AI, 3D
4. Add Logo & Texture File from CC Libraries
2. Creating Layers
1. Dragging Footage:
2. Drag footage onto the Layers panel or Composition window to create new layers.
3. Use the same footage file for multiple layers, treating each instance differently.
4. Layer Menu Options:
5. Add videos, graphics, still images, audio files, text, solids, lights, cameras, null objects, shape layers, and adjustment layers from the Layer menu.
3. Pre-Compositions (Pre-Comps)
1. Creating Pre-Comps:
2. Select layers, right-click, and choose Pre-compose to group them into a new composition.
3. Editing Pre-Comps:
1. Double-click the pre-comp to open and edit it.
2. Changes in the pre-comp update in the main composition.
4. Managing Pre-Comps:
1. Remove from composition by selecting and deleting.
2. Drag pre-comp back into the composition to recreate a layer.
4. Timeline and Duration
1. Current Time Indicator (CTI):
1. Scrub through the timeline using the CTI.
2. Changing Layer Duration:
1. Click and drag the end of a layer to adjust duration.
2. Select multiple layers to adjust their durations simultaneously.
3. Offsetting Layers:
1. Drag layers in the timeline to control timing.
4. Splitting Layers:
1. Select layer, use Edit ... Split Layer
2. Keyboard Shortcut:
1. Shift+Command/Control+D
5. Composition Settings
1. Extend timeline duration via Composition Settings.
2. Keyboard Shortcut:
1. Cmd/Ctrl + D (Comp Settings)
6. Interpret Footage
1. Still Footage:
1. Extend duration indefinitely for graphics, PNGs, JPEGs, vector files.
2. Video Files:
1. Limited to the original duration of the video file.
2. Looping footage by right-clicking, choosing Interpret Footage, and increasing the loop count.
7. Layer Panel
1. Stacking Order
1. Adjust the order of layers to control visibility and overlap.
2. Visibility Toggles:
1. Click the eyeball icon to toggle layer visibility.
2. Solo layers by clicking the box under the circle to isolate them.
3. Lock layers using the padlock icon.
3. Header Column:
1. Right-click to hide/show columns.
4. Switches and Modes:
1. Toggle switches and modes for advanced options.
2. Expand transfer controls pane for blend modes and track matte.
5. Naming and Coloring Layers
1. Renaming Layers:
1. Select layer, tap Enter/Return, and type a new name.
2. Changing Label Colors:
1. Click color swatch to change color for single or multiple layers.
3. 9. Layer Properties
6. Viewing Properties:
1. Twirl open a layer to see properties and effects.
2. Use the search field to quickly find specific properties.
7. Duplicating Layers:
1. Right-click…Duplicate layer
2. Keyboard Shortcut:
1. Command/Control+D
8. Moving Layers:
1. Keyboard Shortcut:
1. Move Layers Up: Cmd/Ctrl + Left Bracket: [
2. Move Layers Down: Cmd/Ctrl +Right Bracket ]
9. Deselecting Layers:
1. Keyboard Shortcut:
1. F2 key to quickly deselect all layers.
10. Full Screen Panel:
1. Keyboard Shortcut:
1. Press the Grave (`) key to toggle full screen for any panel.
11. Select All Layers:
1. Keyboard Shortcut:
1. Command/Control+A to select all layers.
12. Expand/Collapse Layers:
1. Shift+Click the arrow next to any selected layer to expand/collapse.
2. Command/Control+Click the arrow to expand/collapse all properties.
13. Adding Footage Quickly:
1. Select footage in the project panel and then press
2. Keyboard Shortcut:
1. Command/Control+Forward Slash to add it to the Layers panel. U2L6 How To Create & Manage Layers on the Timeline of After Effects](https://i.ytimg.com/vi/lfTDMaZF9y4/mqdefault.jpg)






