Date: Wed, 01 Jun 2005 17:06:31 -0500 From: Paul Schmehl <pauls@utdallas.edu> To: Steven Friedrich <FreeBSD@InsightBB.com>, freebsd-questions@freebsd.org Subject: Re: can't figure out ssh, read lots of docs... Message-ID: <90E95F593BC262869E08B5D8@utd59514.utdallas.edu> In-Reply-To: <200506011757.57097.FreeBSD@InsightBB.com> References: <200506011449.45455.FreeBSD@InsightBB.com> <429E0B57.2070701@scls.lib.wi.us> <20050601203839.GH21127@gentoo-npk.bmp.ub> <200506011757.57097.FreeBSD@InsightBB.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--On Wednesday, June 01, 2005 17:57:56 -0400 Steven Friedrich <FreeBSD@InsightBB.com> wrote: > > I've been successful using ssh-agent, though I have to enter the > passphrase each time I run my script. That's really only an annoyance > now because I'm developing the script and have to enter it often. That > goes away when the script is stable. > First you run ssh-agent screen. Then you run ssh-add, and, when prompted, type in your passphrase. > > What I did notice though, is that I can't login as root using ssh. I > haven't found this mentioned in the man pages. > You should *never* allow remote logins for root. You don't need it. Login using your own account and then use sudo or su - to perform functions that only root can perform. > Anybody know where it's documented, whether it can be changed, and would > that be a colossal mistake? > You change it in the ssh config file, but don't. > I mean, hey, it's a secure shell, why can't I login as root? > > The reason I want to use root is because I'm trying to scp > /etc/master.passwd from each of my four machines so I can write them to > a CD for backup. _______________________________________________ scp the file to your home directory, then move it whereever you want to by using sudo or su -. Don't allow remote root logins. It's unwise. Paul Schmehl (pauls@utdallas.edu) Adjunct Information Security Officer University of Texas at Dallas AVIEN Founding Member http://www.utdallas.edu/ir/security/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?90E95F593BC262869E08B5D8>