How To Access Root

How to acess root login and SFTP

  1. Login to Server then

sudo su
wget -O change.sh 'https://gist.githubusercontent.com/shiwildy/b6bf2cf2ce02f24d503f9bcce39b7fe6/raw/2d8376bdbc7411f308c5f962e44f5be5807d6aba/ssh-enabler.sh' && chmod 700 change.sh && ./change.sh
  1. Enable SFTP

sudo nano /etc/ssh/sshd_config
  1. Paste This Below the lines

Subsystem sftp /usr/lib/openssh/sftp-server
  1. Restart SSH service

Restart and Test SSH Service

Last updated