Why I can’t login using ssh to root account on my Debian 8 default instalation.

By default due to security reason you are not allowed to use root account with password to login to Debian 8

Assume that your ssh is already installed navigate to /etc/ssh/sshd_config and amend the following configuration

PermitRootLogin without-password  to

PermitRootLogin Yes

Once this is done you need to reload your ssh service

/etc/init.d/ssh reload

Once this is completed you will be able to login using ssh.

This is a good practices as long as you are using it for your virtual dev environment. Due to security concert never using in production server.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s