Skip to content

Instantly share code, notes, and snippets.

View reypm's full-sized avatar

ReynierPM reypm

View GitHub Profile
@reypm
reypm / enable-root-ssh.md
Last active March 27, 2025 13:54
Increase LVM (Ubuntu)

To enable root SSH login in Ubuntu, edit the /etc/ssh/sshd_config file, change the line PermitRootLogin to yes (or uncomment it if it's commented out), save the file, and restart the SSH service using sudo systemctl restart sshd.service.

  • Open the SSH Configuration File:
  • Use a text editor with root privileges to open the sshd_config file: sudo nano /etc/ssh/sshd_config

Find the PermitRootLogin Line

  • Locate the line that starts with PermitRootLogin. It might be commented out with a # at the beginning. Modify the Value:
    • If the line is commented out, remove the # at the beginning.
    • Change the value from prohibit-password (or whatever it is) to yes. The line should look like this: PermitRootLogin yes.
  • Save the Changes:
@reypm
reypm / README.md
Last active January 15, 2025 10:50
New Dev Environment Fast Setup

Fedora Server Configuration Snippets


  • Go to Parallels Desktop menu bar Devices > CD/DVD > Connect image
  • Navigate to /Applications/Parallels Desktop/Contents/Resources/Tools
  • Click on prl-tools-lin.iso (for x86_64) or the equivalent for ARM and click Open
  • Mount the Parallels Tools image to Linux virtual machine: