Thanks Tobias, it was a mistake of just a single "d" :) Thanks Alot.
Yousuf On Wed, Feb 3, 2016 at 12:46 PM, Tobias Weiß <tobias-we...@outlook.com> wrote: > You were looking into the wrong fiie for the PermitRootLogin directive. I > have overseen this when I first replied to you. I am sorry :) > > It is /etc/sshd_config not /etc/ssh_config. The first file configures the > server, the second the cli client. > > When you change it to yes, you may login as root providing username and > password. Best security practice on the other hand is to use public/private > key which is the without-password directive, esp. if ssh port is > accessiable in public networks. > > Best, > > Tobias > > > > > > ------------------------------ > Date: Wed, 3 Feb 2016 12:11:45 +0500 > Subject: Re: root login in Jessie > From: sir...@gmail.com > To: tobias-we...@outlook.com > > > Thanks for the response Tobias. i even restarted the machine. BTW just > like to mention that i am using LXC virtual container. i think this > should't be an issue here. > > Thanks, > Yousuf > > On Wed, Feb 3, 2016 at 11:47 AM, Tobias Weiß <tobias-we...@outlook.com> > wrote: > > > You probaly forgot to restart ssh after changing the config? > > Best, > > ------------------------------ > Date: Wed, 3 Feb 2016 11:43:40 +0500 > Subject: root login in Jessie > From: sir...@gmail.com > To: debian-user@lists.debian.org > > > Dear All, > > I have two machines for testing some services on jessie. however i can > not allow access to root remote ssh. > i have read this on saveral places that > /etc/ssh/ssh_config has a line PermitRootLogin without-password which has > to be change to yes > first of all i can not find this line in whole file. however when i > manually type this line it didn't work > can you guys please help. > > Thanks, > Yousuf > > >