Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

drs

⚠️ STRICTLY FOR TESTING PURPOSES ONLY ⚠️

Root SSH access enabler for Debian-based systems — exposes root user for SSH access.


Overview

drs (debian-root-ssh) is a minimal script that configures a Debian system to allow root login via SSH. This is extremely insecure and should ONLY be used in disposable test environments, VMs, or containers.


⚠️ SECURITY WARNING

NEVER use this on:

  • Production systems
  • Internet-facing servers
  • Systems with sensitive data
  • Any environment where security matters

This script:

  • Enables root SSH login (PermitRootLogin yes)
  • Sets up passwordless root access
  • Disables basic SSH hardening

Contents

File Description
root.sh Main script — enables root SSH access
README.md This file (WARNING included)

Installation (TEST ENVIRONMENTS ONLY)

wget https://raw.githubusercontent.com/MatthewCaples/drs/master/root.sh
chmod +x root.sh
./root.sh

What the Script Does

  1. Installs openssh-server if not present
  2. Modifies /etc/ssh/sshd_config:
    • PermitRootLogin yes
    • PasswordAuthentication yes
  3. Sets root password (or enables key-based auth)
  4. Restarts SSH service

Reversing Changes

To restore secure defaults:

# Edit /etc/ssh/sshd_config
PermitRootLogin no
PasswordAuthentication no

# Restart SSH
systemctl restart ssh

License

No license specified — treat as public domain / unlicensed. Use at your own risk.


Created 2016 — testing utility for disposable Debian VMs only.

About

Root SSH access enabler for Debian — strictly for testing disposable VMs (INSECURE, do NOT use in production)

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages