⚡✨ WHY THIS MATTERS ✨⚡
Ever been too lazy to get up and shut down your PC? 😩 Or maybe you're in bed and wanna check something on your laptop? 😴💡
Boom! That’s where this project hits different 😤
We're about to remotely control your PC using just your phone 📱, like a literal hacker in a hoodie 🧥😎
(But the ethical kind... obviously 😉👾)
🧠 What You’ll Learn
- ✅ How to set up SSH between your phone & PC
- ✅ How to send Python commands from phone to PC
- ✅ Aesthetic + power? Yes please 💅⚡
- ✅ BONUS: Mobile hacking terminal feel on Termux 😎
🏗️ What You Need:
- A PC or laptop 💻 (Linux or WSL or even a Raspberry Pi 🍓)
- An Android phone with Termux installed 📲
- Python installed on your PC 🐍
- OpenSSH server installed on PC 🔐
🔢 Step-by-Step Tutorial 🔧
1️⃣ Install OpenSSH on Your PC 🖥️
sudo apt update && sudo apt install openssh-server -y
💡 This sets up your PC to accept remote SSH connections!
sudo systemctl status ssh
(If it's active = 🔥 You're on track!)
2️⃣ Grab Your PC's Local IP 📡
ip a
👉 Copy the IP that looks like 192.168.x.x
— that's your local network IP 🔍
3️⃣ Set Up SSH on Your Phone (Termux Style 😤)
pkg update && pkg upgrade
pkg install openssh
Now, connect to your PC like a boss:
ssh username@192.168.x.x
🧠 Replace username
with your PC's username and 192.168.x.x
with your IP!
4️⃣ Add Python Power 🐍💻
Let’s say you want to control your PC fan or shut it down, here’s how you make a Python script for that 🔥
📍 On your PC, make a script:
nano remote.py
Paste this 👇:
import os
print("Remote Control Activated! 🔥")
os.system("shutdown now") # You can replace this with any command!
💥 Save and exit with CTRL+X
, then Y
, then Enter
Run it remotely from your phone like:
python3 remote.py
🔁 You can now run anything on your PC while lying on your bed 😭🙌
5️⃣ Wanna Make It Cooler? 🧊
Set aliases in Termux for quick commands:
echo 'alias shutdownpc="ssh user@ip python3 remote.py"' >> ~/.bashrc
source ~/.bashrc
Now just type shutdownpc
anytime and boom 💣
Your PC goes 💤 from your phone.
💭 Extra Sauce 💡
- Use
scp
to copy files from phone to PC and vice versa 📁
scp file.txt username@192.168.x.x:/path/to/folder
- Want more control? Make a Python script that opens apps, plays music, etc. 🎵🖼️
- Protect with SSH keys for max security 🛡️
💬 Let’s Talk!
👇 Drop a comment below on how YOU would use this!
Also, if you're hyped about this kinda content...
🎓 Join my full course: LearnTermux.tech/courses
or just hit me up on IG: @SaadMaqsood 📲💬
✨ Motivation Break ✨
You don’t need to be a 10x dev to feel powerful.
Sometimes, all it takes is one cool script and BOOM — you're the wizard of your world 🧙♂️💻
Keep learning, keep building, keep vibing.
0 Comments