Path: csiph.com!usenet.pasdenom.info!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail From: "Tim Chase" To: alister Subject: Re: why can't download file from linux server into local window disk c: Message-ID: <54866F2E.1758.complang@piz.noip.com> X-Comment-To: alister Newsgroups: comp.lang.python In-Reply-To: <54866F2E.1753.complang@piz.noip.com> References: <54866F2E.1753.complang@piz.noip.com> X-FTN-AREA: COMP.LANG.PYTHON X-FTN-PID: SoupGate-Win32 v1.05 X-FTN-MSGID: 5e57f8f8 X-FTN-REPLY: <6mmhw.29670$5z5.10496@fx42.am4> e6dd3321 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: 29 Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: 2266ad8f.news.astraweb.com X-Trace: DXC=LP`[=a9Aa>5R@Y?`:@TCo5L?0kYOcDh@:RScV177L_P1Zh[e@ZS;QS3l23]GVn`Zm6MHo6fPSBkU;04hIVDTD?[;7g\XjYcGeh9fPiGS6_2a\= X-Received-Bytes: 2318 X-Received-Body-CRC: 1258481450 Xref: csiph.com comp.lang.python:82220 To: alister Copy: python-list@python.org On 2014-12-08 18:46, alister wrote: > on most systems that DO have a ssh server root logins are usually > prohibited, either enable root logins (dangerous) or log in with a > user that has permissions to do what you require. if you don't have > access to the server then you need assistance from someone who is > authorised. 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 also like to change my external SSH port to something non-traditional (and have configured port-knocking in the past) to prevent the obvious pokes I would otherwise see in my sshd/auth/access logs. -tkc --- 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