public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Kazantsev <mike_kazantsev@fraggod.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT -- superuser file manager access to remote via ssh with no root login?
Date: Wed, 25 Feb 2009 08:42:24 +0500	[thread overview]
Message-ID: <20090225084224.26a0a6b9@malediction> (raw)
In-Reply-To: <20090224090242.40f2b26f@lappy.evolone.org>

[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]

On Tue, 24 Feb 2009 09:02:42 -0800
Michael Higgins <linux@evolone.org> wrote:

> I can't figure this one out. 
> 
> Have disallowed root login, public key auth.
> 
> Have a bunch of random renaming to do on that machine though, so
> would like to point and click for a change.
> 
> Is this possible? No GUI libs on the remote machine...
> 
> I was thinking sshfs, but since I can't login directly as root, is
> there some other way?

I can see several solutions, as well:

1. Restrict root auth to public key and bind public key to your IP
only ( 'from="<IP>" ssh-dss ...' in authorized_hosts, or tcp wrappers ).

2. Create login like 'somerandomuser' (you can actually use a hash
here, if you're security-crazed) and disallow root auth from pam, not
sshd.

3. Since it sounds like you have no need to do it repeatedly, why not
open root and do the stuff? Provided you don't have '123' as password.


While I think security is overally a good thing, making some aspects of
it a pain in the ass is what I just can't understand in people: it may
take ages to pick the root password (provided you have right anti-brute
daemon installed), but they will make their lives miserable over
it, while leaving the same passwords typed in the terminals and written
on paper scraps lying on the desk, not to mention a lot of more obvious
things.

-- 
Mike Kazantsev // fraggod.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2009-02-25  3:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24 17:02 [gentoo-user] OT -- superuser file manager access to remote via ssh with no root login? Michael Higgins
2009-02-24 17:10 ` [gentoo-user] " Nikos Chantziaras
2009-02-24 17:12 ` [gentoo-user] " Alan McKinnon
2009-02-24 19:50 ` Paul Hartman
2009-02-24 20:26 ` Daniel Troeder
2009-02-25  3:42 ` Mike Kazantsev [this message]
2009-02-25  8:50   ` Stroller
2009-02-25 17:13     ` Michael Higgins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090225084224.26a0a6b9@malediction \
    --to=mike_kazantsev@fraggod.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox