Path: csiph.com!usenet.pasdenom.info!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail From: "Chris Angelico" To: Tim Chase Subject: Re: why can't download file from linux server into local window disk c: Message-ID: <54866F2E.1760.complang@piz.noip.com> X-Comment-To: Tim Chase Newsgroups: comp.lang.python X-FTN-AREA: COMP.LANG.PYTHON X-FTN-PID: SoupGate-Win32 v1.05 X-FTN-MSGID: a9d1d5c0 X-FTN-REPLY: <20141208135042.7f2be108@bigbox.christie.dr> 7d75c108 Content-Type: text/plain; charset=IBM437 Content-Transfer-Encoding: 8bit X-Gateway: piz.noip.com [Synchronet 3.15b-Win32 NewsLink 1.92] X-Server: piz.noip.me Date: 9 Dec 2014 11:32:01 -0500 Lines: 26 Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: 2266ad8f.news.astraweb.com X-Trace: DXC=LP`[=a9Aa>UbnnNk7ne37PL?0kYOcDh@ZRScV177L_PQZh[e@ZS;QSSl23]GVn`ZmVMHo6fPSBkU[04hIVDTD?[[7g\XjYcGehYfPiGS6_2a\] Xref: csiph.com comp.lang.python:82222 To: Tim Chase Copy: python-list@python.org (python-list@python.org) On Tue, Dec 9, 2014 at 6:50 AM, Tim Chase wrote: > Just for the record, you can enable root logins but disallow password > logins, so root has to be done with a public/private key-pair. > > That said, I do as you describe and still SSH to my ssh-user account, > then "su" to root as needed from there. But at least there's a > middle ground that isn't as vulnerable as putting a root account out > there to be banged on by any script-o-matic bot that finds it. I've done both of these. Most of my boxes don't have passwords on the root account AND don't allow SSH to root, relying on a sudo-enabled account usually; and it's perfectly possible to also deny password access to *any* account via SSH. Quite good for security... though it can create an awkward bootstrap problem if you lose all private keys that had access. ChrisA --- SoupGate-Win32 v1.05 * Origin: NNTP.gateway.@.piz.noip.me> (1:249/999) --- Synchronet 3.15b-Win32 NewsLink 1.92 SpaceSST BBS Usenet <> Fidonet Gateway