Date: Mon, 02 Feb 2015 11:56:55 +0700 From: Olivier Nicole <Olivier.Nicole@cs.ait.ac.th> To: Shane Ambler <FreeBSD@ShaneWare.Biz> Cc: freebsd-questions@freebsd.org Subject: Re: Can't login as a root via SSH! Message-ID: <wu78ugg6hd4.fsf@banyan.cs.ait.ac.th> In-Reply-To: <54CEFEF7.3020407@ShaneWare.Biz> (message from Shane Ambler on Mon, 02 Feb 2015 15:07:11 %2B1030)
next in thread | previous in thread | raw e-mail | index | archive | help
Shane Ambler <FreeBSD@ShaneWare.Biz> writes: > On 02/02/2015 14:13, jd1008 wrote: >> >> On 02/01/2015 08:21 PM, williamyun7 wrote: >>> which file should i look up? >>> >>> this is /etc/defaults/rc.conf >>> >>> i can't find any with root login via ssh from here. >> >> in /etc/ssh/sshd-config >> >> what do you see for root??? >> > > Just curious with root ssh access, what I have been using is to create > /root/.ssh/config and enter > > HOST <HOSTNAME> > IdentityFile /home/<USER>/.ssh/id_rsa > > then as root using `ssh <USER>@<HOSTNAME>` That is something else and this way is not really a problem. The thread, I understand, is talking about 'ssh root@some.host' That is connecting from some user to root user. BR, Olivier > Well technically it's cron doing rsync to trigger the ssh connection, > but this causes root to initiate ssh using my user account keys. > > Is this method considered OK or is it a security issue? --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wu78ugg6hd4.fsf>