Skip to content

emka.web.id

writing knowledge, recording civilization

Menu
  • Home
  • Tutorial
  • Search
Menu

Cara Setting OpenSSH Server di AlmaLinux 9

Posted on August 11, 2024

Berikut adalah langkah-langkah untuk menginstall dan mensetting OpenSSH Server di AlmaLinux 9:

Langkah 1: Install OpenSSH Server

Buka terminal dan jalankan perintah berikut:

sudo dnf install openssh-server

Tunggu hingga proses instalasi selesai.

Langkah 2: Mulai Layanan OpenSSH

Setelah instalasi selesai, mulai layanan OpenSSH dengan menjalankan perintah berikut:

sudo systemctl start sshd

Langkah 3: Aktifkan Layanan OpenSSH pada Boot

Untuk memastikan layanan OpenSSH tetap aktif setelah reboot, jalankan perintah berikut:

sudo systemctl enable sshd

Langkah 4: Konfigurasi File /etc/ssh/sshd_config

Edit file /etc/ssh/sshd_config dengan menggunakan teks editor seperti nano atau vim. Jalankan perintah berikut:

sudo nano /etc/ssh/sshd_config

Atau:

sudo vim /etc/ssh/sshd_config

Konfigurasi yang paling umum adalah:

  • Mengatur porta SSH (default: 22)
  • Mengatur alamat IP yang diizinkan untuk koneksi SSH
  • Mengatur jenis autentikasi yang diizinkan

Contoh konfigurasi:

Port 22
AddressFamily any
ListenAddress 0.0.0.0
PermitRootLogin yes
PubkeyAuthentication yes
PasswordAuthentication no
UsePAM no

Simpan perubahan dengan menekan Ctrl + X, lalu Y dan Enter.

Langkah 5: Restart Layanan OpenSSH

Setelah konfigurasi selesai, restart layanan OpenSSH untuk menerapkan perubahan:

sudo systemctl restart sshd

Sekarang Anda telah berhasil menginstall dan mensetting OpenSSH Server di AlmaLinux 9. Anda dapat mencoba koneksi SSH ke server dengan menggunakan alamat IP atau nama domain server.

Terbaru

  • systemd Officially Adds Support for Rust Components
  • Rocky Linux Creator Builds a Brand-New “Not Linux” Kernel in 11 Days Using AI
  • Building a local AI agent in Workshop on Ubuntu 26.10
  • Omarchy 4.5 RC: 5 New Apps That Actually Look Useful
  • Worth It! Switching from Fedora KDE to Kubuntu
  • I’m Happy Using ‘Herdr’, The Fastest Growing Devtool written in Rust
  • Testing Goose on Omarchy Linux (App & CLI): The Open-Source Solution for Daily Task Automation
  • GNOME Founder Attacks Omarchy Founder as “Lazy, Racist, Ignorant”
  • Why I Stopped Using Plain Command Line Docker and Use Portainer 3.0 To Make My Home Projects Fun Again
  • Why I Switched to a Proper Firewall Box with OPNSense for My Homelab Stuff
  • Fixing Windows Error 0x80070005 Hyper-V Export Access Denied Error the Right Way
  • Fixing Hyper V Export Errors and Building a Better Virtual Machine Setup (error 0x80070002, 0x80070005)
  • Fixing the Dreaded Windows Audio Service Stuck on Stopping Error
  • Windows SIM Error, Unknown error 0xc1420127
  • How I’m Building a Cat Breeding Management App with Python Qt6 + Microsoft Litebox, in 1 Week
  • Why Windows Keeps Nuking Your GPU Drivers (And How to Take Back Control)
  • Why I Finally Ditched Mainstream Windows Cleaners (And Why I Use ‘Kudu’ Instead)
  • AI Made Everything Faster, Including Bad Decisions
  • Raspberry Pi Desktop Available of PC and Mac, Based on Debian 13
  • Why I Stopped Yelling at My PC When Error; Getting Windows 11 Voice Isolation and Access to Actually Work
  • Berobat Kanker ke Malaysia: Berapa Biayanya dan Apa Saja yang Perlu Disiapkan?
  • Stop Sending Every Prompt to the Biggest AI Model You Can Find
  • Stop Building AI Agents from Scratch: My Pick for the Best Native Windows Setup
  • Jev Is Faster and Cheaper, But I Still Recommend Clef. Here’s Why.
  • Weird XCP-NG Bug or Feature? Enable Maintenance Mode = Host Not Enough Memory
  • Vinix OS: Another OS That Want to Beat Linux, Try it!
  • Trying NVX, An Ultra-Light Micro-VM Sandbox from Microsoft
  • Learning NocoDB from Scratch: Creating a Simple Greenhouse App
  • How RHEL 10.2 Quietly Turned Into an Absolute Security Beast
  • Grab Videos from Anywhere with ReClip (Can Running Locally)
  • Canonical: Ubuntu coming soon to Snapdragon X2 Series platforms
  • Finally, wolfSSL adds post-quantum algorithms!
  • How to Run Gemma Embedding Models Using Docker
  • Deploy Nginx Rootful Container with Podman
  • How to Sandboxing Browser on Linux Desktop with Flatpak
  • Building Long-Running AI Agents with Pi Durable: An AI SRE Agent Example
  • Prompt AI: Impressionist Portrait Art of a Woman
  • Prompt AI: Stylish Man Walking Double Exposure Photo
  • Trying Nemotron 3.5 Super VL: NVIDIA’s Open Multimodal Model Built for Agents That Actually See and Act
  • Pruna AI Release their Qwen-Image 2.1 LoRA Adapter, 6x Faster than Regular Qwen
  • Messi vs Ronaldo rebutan gelar Ballon d’Or of All Time, siapa yang paling jago menurut fans?
  • Ini Dia QR Link Dana Kaget 400K, 27 Oktober 2026
  • Fresh! Ini Biodata dan Fakta Unik dari Member No Na
  • Inilah Rekomendasi 10 Drama Jepang Wajib Tonton November 2026
  • Banyak yang cari link nonton gratis Adili Idola Andre Taulany, padahal sistemnya bayar per tayangan

©2026 emka.web.id | Design: Newspaperly WordPress Theme