Professional Linux root SSH access automation tool by Hostragons Global Limited.
Enable direct root login on Linux servers that initially enforce SSH key authentication or restrict root access.
Designed for cloud environments, VPS platforms, dedicated servers, virtual machines, and hosting providers.
Supports AWS, Azure, Google Cloud, Lightsail, Contabo, Hetzner, DigitalOcean, Oracle Cloud, Vultr and most Linux distributions.
Run instantly:
bash <(curl -fsSL https://cdn.hostragons.com/storage/bash/hostragons_enable_root_access.sh)or:
sudo bash <(curl -fsSL https://cdn.hostragons.com/storage/bash/hostragons_enable_root_access.sh)This script automatically:
β Enables direct root SSH login
β Configures SSH daemon settings
β Enables password authentication
β Removes login restrictions that prevent root access
β Updates SSH configuration safely
β Restarts SSH service automatically
β Works across multiple Linux distributions
β Creates configuration backups
β Supports cloud providers with SSH key-only login environments
β Allows easier root administration
Automatically updates:
/etc/ssh/sshd_config
Settings modified:
PermitRootLogin yes
PasswordAuthentication yes
KbdInteractiveAuthentication yes
Before modifications:
/etc/ssh/sshd_config.bak
is automatically created.
This allows easy rollback if needed.
Different Linux distributions use different SSH service names.
Supported:
sshd
ssh
Automatically detects and restarts the correct service.
Fully compatible with:
- Ubuntu
- Debian
- AlmaLinux
- Rocky Linux
- CentOS
- RHEL
- CloudLinux
- Oracle Linux
- Fedora
- Other systemd based Linux systems
Optimized for cloud providers that commonly deploy SSH key-only access:
- AWS EC2
- AWS Lightsail
- Microsoft Azure
- Google Cloud Platform (GCP)
- Oracle Cloud
- DigitalOcean
- Vultr
- Hetzner Cloud
- Contabo
- Linode
- OVH
- Hostinger VPS
- Dedicated servers
- Virtual machines
- KVM servers
- Proxmox environments
Step 1:
Checks system requirements.
Step 2:
Verifies root permissions.
Step 3:
Checks SSH configuration.
Step 4:
Updates root login settings.
Step 5:
Enables password authentication.
Step 6:
Restarts SSH service.
Step 7:
Prompts user to create or update root password.
Step 8:
Displays success information.
Minimum requirements:
- Linux server
- Root access or sudo privileges
- OpenSSH server installed
- systemctl support
Enabling root login with password authentication may reduce security if strong passwords are not used.
Recommended:
β Use strong passwords
β Restrict SSH using firewall rules
β Change default SSH port if needed
β Enable Fail2Ban
β Restrict access by IP
- Enable root login on AWS EC2
- Enable root login on Lightsail
- Remove SSH key-only restrictions
- Root access for Azure Linux VM
- Enable root SSH on Ubuntu server
- Enable root access on AlmaLinux
- Enable root access on CentOS
- Enable root login on cloud VPS
- SSH password login configuration
- Dedicated server administration
- Server migration
- Hosting server management
Hostragons Global Limited
Company Number:
14320956
Headquarters:
London, United Kingdom
Address:
71β75 Shelton Street
Covent Garden
London WC2H 9JQ
United Kingdom
Website:
https://www.hostragons.com/en/
Contact:
https://www.hostragons.com/en/contact
Client Area:
WhatsApp:
+44 7367 063425
Telegram:
MIT License
Made with β€οΈ by Hostragons Global Limited