You can use a temporary root login setup and enable/disable it as needed. This way, you can enable root SSH password login, do what you need, then disable it.
Use at your own risk!
OS: Ubuntu 14.04
Enable: (using normal user login in terminal)
Disable: (using normal user login in terminal)
Always remember to disable the login when finished!
I suggest you save this info in a text file on your desktop for quick reference.
Use at your own risk!
OS: Ubuntu 14.04
Enable: (using normal user login in terminal)
Quote:Edit /etc/ssh/sshd_config:
sudo nano /etc/ssh/sshd_config
Comment out the following line:
PermitRootLogin without-password
Just below it, add or edit the following line:
PermitRootLogin yes
Then restart SSH:
sudo service ssh restart
Disable: (using normal user login in terminal)
Quote:Edit /etc/ssh/sshd_config:
sudo nano /etc/ssh/sshd_config
Find:
PermitRootLogin yes
Change to:
PermitRootLogin no
Then restart SSH:
sudo service ssh restart
Always remember to disable the login when finished!
I suggest you save this info in a text file on your desktop for quick reference.