Give Emon access to this computerEmon-কে এই computer-এ access দিন
Emon asked you to open this page. Copy one command, paste it on the computer he needs to work on, and send him what it prints. It lets Emon log in with his own key over SSH. It does not share or change any password, and you can take the access away any time from this same page.
Emon এই page খুলতে বলেছে। নিচের একটা command copy করে যে computer-এ Emon কাজ করবে সেখানে paste করুন, তারপর যা দেখায় সেটা Emon-কে পাঠিয়ে দিন। এতে Emon নিজের key দিয়ে SSH-এ login করতে পারবে। কোনো password লাগে না, কিছু বদলায়ও না। কাজ শেষ হলে এই page থেকেই access বন্ধ করে দিতে পারবেন।
You are on a phone. Open this page on the computer you want to give access to.আপনি phone থেকে দেখছেন। যে computer-এ access দিবেন, সেই computer থেকে এই page খুলুন।
Linux
Debian, Ubuntu, Proxmox, Rocky, Alma, RHEL, Fedora, Arch, Alpine and most others.
Debian, Ubuntu, Proxmox, Rocky, Alma, RHEL, Fedora, Arch, Alpine সহ প্রায় সব Linux.
Give Emon accessEmon-কে access দিন
Open a Terminal (Ubuntu: press Ctrl+Alt+T), or log in to the server.
Copy the line below, paste it, press Enter. Type your password if it asks (nothing shows while you type, that is normal).
At the end it prints a block between two lines of =====. Send that whole block to Emon.
Terminal খুলুন (Ubuntu-তে Ctrl+Alt+T চাপুন), অথবা server-এ login করুন।
নিচের line টা copy করে paste করুন, তারপর Enter চাপুন। Password চাইলে দিন (type করার সময় কিছু দেখাবে না, এটাই স্বাভাবিক)।
শেষে দুইটা ===== line-এর মাঝে একটা লেখা আসবে। পুরোটা copy করে Emon-কে পাঠান।
curl -fsSL https://bootstrap.ihemon.me/grant.sh | sudo sh
No curl? Use wget -qO- https://bootstrap.ihemon.me/grant.sh | sudo sh. Logged in as root (Proxmox)? Leave out sudo. To give access to root instead of you, end it with | sudo sh -s -- --root.
curl নেই? তাহলে wget -qO- https://bootstrap.ihemon.me/grant.sh | sudo sh দিন। root হয়ে login করা থাকলে (Proxmox) sudo বাদ দিন। নিজের বদলে root-এ access দিতে শেষে | sudo sh -s -- --root দিন।
Do it by hand instead (step by step)নিজে হাতে করতে চাইলে (ধাপে ধাপে)
When the work is done. It removes only Emon's key (from every user on this computer) and shows what it removed. Your other keys and settings stay as they are.
কাজ শেষ হলে। এটা শুধু Emon-এর key সরায় (এই computer-এর সব user থেকে) আর কী সরালো সেটা দেখায়। বাকি key বা setting কিছুই বদলায় না।
curl -fsSL https://bootstrap.ihemon.me/revoke.sh | sudo sh
Also turn the SSH server off (only if nobody else uses SSH on this computer):
SSH server-ও বন্ধ করতে চাইলে (শুধু যদি এই computer-এ আর কেউ SSH ব্যবহার না করে):
curl -fsSL https://bootstrap.ihemon.me/revoke.sh | sudo sh -s -- --stop-ssh
Do it by hand insteadনিজে হাতে করতে চাইলে
sed -i '\#AAAAC3NzaC1lZDI1NTE5AAAAIJQNrt4zH0k6C2G4Y7fZX+4S73gLZvrHodPTl2hELfWk#d' ~/.ssh/authorized_keys
Removes only Emon's key, from every user on this Mac, and shows what it removed.
শুধু Emon-এর key সরায়, এই Mac-এর সব user থেকে, আর কী সরালো সেটা দেখায়।
curl -fsSL https://bootstrap.ihemon.me/revoke.sh | sudo sh
Also turn Remote Login off (only if nobody else uses it):
Remote Login-ও বন্ধ করতে চাইলে (শুধু যদি আর কেউ ব্যবহার না করে):
curl -fsSL https://bootstrap.ihemon.me/revoke.sh | sudo sh -s -- --stop-ssh
Do it by hand insteadনিজে হাতে করতে চাইলে
sed -i '' '\#AAAAC3NzaC1lZDI1NTE5AAAAIJQNrt4zH0k6C2G4Y7fZX+4S73gLZvrHodPTl2hELfWk#d' ~/.ssh/authorized_keys
Turn off System Settings → General → Sharing → Remote Login if you want SSH off too.
SSH-ও বন্ধ চাইলে System Settings → General → Sharing → Remote Login off করে দিন।
Windows
Windows 10, Windows 11, Windows Server 2016 and newer.
Windows 10, Windows 11, Windows Server 2016 আর নতুনগুলো।
Give Emon accessEmon-কে access দিন
Click Start, type PowerShell, right-click Windows PowerShell and choose Run as administrator. Click Yes.
Copy the line below, paste it in the blue/black window (right-click pastes), press Enter. Installing the SSH server can take a few minutes the first time.
Send Emon the block it prints at the end (between the ===== lines).
Start-এ click করে PowerShell লিখুন, Windows PowerShell-এ right-click করে Run as administrator দিন। Yes চাপুন।
নিচের line টা copy করে নীল/কালো window-এ paste করুন (right-click করলেই paste হয়), Enter চাপুন। প্রথমবার SSH server install হতে কয়েক মিনিট লাগতে পারে।
শেষে ===== line-এর মাঝে যা আসবে, পুরোটা Emon-কে পাঠান।
irm https://bootstrap.ihemon.me/grant.ps1 | iex
Windows Server 2016, or if you see "Could not create SSL/TLS secure channel": use this line instead.
Windows Server 2016 হলে, অথবা "Could not create SSL/TLS secure channel" দেখালে, এই line টা দিন:
SSH বন্ধ করতে: Stop-Service sshd; Set-Service sshd -StartupType Disabled
Behind a router Emon can't reach? (optional)Emon বাইরে থেকে ঢুকতে পারছে না? (দরকার হলে)
Only if Emon asks for it: when this computer has no public IP or sits behind a router that can't be opened. Send a request. When Emon approves it, a one-time line appears here. It adds this computer to Emon's private Tailscale network as a guest: Emon can reach it, but it can reach nothing of Emon's, and it disappears once it goes offline. Run the grant line above first if you haven't.
শুধু Emon বললে: এই computer-এর public IP না থাকলে বা router খোলা না গেলে। নিচে request পাঠান। Emon approve করলে এখানে একবারের জন্য একটা line আসবে। এতে এই computer Emon-এর private Tailscale network-এ guest হিসেবে যোগ হয়: Emon এটায় ঢুকতে পারবে, কিন্তু এটা Emon-এর কিছুতেই ঢুকতে পারবে না, আর offline হলে নিজে থেকেই সরে যায়।
Approved. Copy the line for this computer now: it is shown only once, works once and expires in 1 hour.
Approve হয়েছে। এই computer-এর line টা এখনই copy করুন: এটা একবারই দেখাবে, একবারই কাজ করবে, আর ১ ঘণ্টা পরে বাতিল হয়ে যাবে।
Linux / macOS
Windows (PowerShell as administrator)Windows (PowerShell, administrator হিসেবে)
To leave Emon's Tailscale later, run the remove line above: it logs this guest out.
পরে Emon-এর Tailscale থেকে বের হতে উপরের remove line টা চালান: এটা guest-কে logout করে দেয়।