Skip to content

khokelo/bismillah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 

Repository files navigation

Contoh Keygen #!/bin/bash

=== Konfigurasi awal ===

TARGET_USER="Organizer1" # Ganti jika username Windows beda TARGET_IP="192.168.18.19" # IP Windows target KEY_NAME="id_ed25519"

echo "πŸ” Membuat SSH key baru..." ssh-keygen -t ed25519 -f ~/.ssh/$KEY_NAME -N ""

echo "πŸ›‘οΈ Mengatur firewall Linux (UFW)..." sudo ufw allow 22 sudo ufw enable

echo "πŸ“‘ Mengirimkan public key ke Windows..." ssh-copy-id -i ~/.ssh/${KEY_NAME}.pub ${TARGET_USER}@${TARGET_IP}

echo "βœ… Selesai! Sekarang kamu bisa SSH tanpa password:" echo "ssh ${TARGET_USER}@${TARGET_IP}"

About

aplikasi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published