Date: Mon, 02 Feb 2015 15:07:11 +1030 From: Shane Ambler <FreeBSD@ShaneWare.Biz> To: freebsd-questions@freebsd.org Subject: Re: Can't login as a root via SSH! Message-ID: <54CEFEF7.3020407@ShaneWare.Biz> In-Reply-To: <54CEF249.4030907@gmail.com> References: <1422845600355-5985396.post@n5.nabble.com> <54CEE8CF.606@gmail.com> <1422846540252-5985400.post@n5.nabble.com> <54CEEB66.7090306@gmail.com> <1422847311740-5985404.post@n5.nabble.com> <54CEF249.4030907@gmail.com>
index | next in thread | previous in thread | raw e-mail
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>` 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? -- FreeBSD - the place to B...Software Developing Shane Amblerhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54CEFEF7.3020407>
