Connecting with SSH Key

Step One Generate the key on the client (your computer) with:]# ssh-keygen -t rsa -b 4096I like to skip passphrase and just press Enter Enter if you already have a key ignore this step. Step Two Copy key to remote server with:]# ssh-copy-id user@remote_IP_OR_SERVER_NAME Step Three ssh in with:]# ssh user@remote_IP_OR_SERVER_NAME and it should let… Continue reading Connecting with SSH Key

Published
Categorized as LINUX

Firewalld

Adding SSH IP to specific IP Address (must be done as root user):]# firewall-cmd –permanent –zone-trusted –add-rich-rule=’rule family=ipv4 source address=192.168.0.100 accept’Then:]# firewall-cmd –reload Adding rule permanently:]# firewall-cmd –runtime-to-permanent

Published
Categorized as LINUX

Running script at startup

Step 1: Create your startup script in /usr/local/bin/startup.sh you could have something simple in it to verify it runs like: Step 2: Create a file in /etc/systemd/system/startup.service and put the following code in it: Step 3: Test your startup script with: Step 4: Check your status with: Borrowed from Ian Walker at Rocky Linux here

Published
Categorized as LINUX

Installing KDE Plasma on Rocky Linux 9

The simple method – Tested with VirtualBox Download Rocky Linux 9 KDE image from:http://dl.rockylinux.org/pub/rocky/9/live/x86_64/Rocky-9-KDE-x86_64-latest.iso Install on CD or USB and boot to CD or USB.