Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82144

Re: why can't download file from linux server into local window disk c:?

References <5486AF57.7070803@gmail.com> <mailman.16726.1418061662.18130.python-list@python.org> <mailman.16727.1418062309.18130.python-list@python.org> <6mmhw.29670$5z5.10496@fx42.am4> <20141208135042.7f2be108@bigbox.christie.dr>
Date 2014-12-09 07:16 +1100
Subject Re: why can't download file from linux server into local window disk c:?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.16734.1418069791.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, Dec 9, 2014 at 6:50 AM, Tim Chase <python.list@tim.thechases.com> 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

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: why can't download file from linux server into local window disk c:? ishish <ishish@domhain.de> - 2014-12-08 17:37 +0000
  Re: why can't download file from linux server into local window disk c:? Luuk <luuk@invalid.lan> - 2014-12-08 19:11 +0100
    Re: why can't download file from linux server into local window disk c:? Chris Angelico <rosuav@gmail.com> - 2014-12-09 05:18 +1100
    Re: why can't download file from linux server into local window disk c:? Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2014-12-08 20:37 +0100
    Re: why can't download file from linux server into local window disk c:? Tim Chase <python.list@tim.thechases.com> - 2014-12-08 12:32 -0600
  Re: why can't download file from linux server into local window disk c:? Luuk <luuk34@gmail.com> - 2014-12-08 19:11 +0100
    Re: why can't download file from linux server into local window disk c:? alister <alister.nospam.ware@ntlworld.com> - 2014-12-08 18:46 +0000
      Re: why can't download file from linux server into local window disk c:? Tim Chase <python.list@tim.thechases.com> - 2014-12-08 13:50 -0600
      Re: why can't download file from linux server into local window disk c:? Chris Angelico <rosuav@gmail.com> - 2014-12-09 07:16 +1100
      Re: why can't download file from linux server into local window disk c:? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-08 20:23 -0500

csiph-web