Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How to get EGit to remember my password?

This is news to me, but apparently, "scp will preserve permissions if you use '-p' when copying...", from:

	http://www.debian-administration.org/articles/27#comment_2

So it sounds like chmod'ing locally and then scp'ing the folder with -p should work.

-Andrew

On 11-06-24 10:43 AM, Roland Schulz wrote:


On Fri, Jun 24, 2011 at 10:21 AM, Schaefer, Doug
<Doug.Schaefer@xxxxxxxxxxxxx <mailto:Doug.Schaefer@xxxxxxxxxxxxx>> wrote:

    It looks like the restricted shell allows for scp. You could create
    the authorized_keys file locally and scp it up to
    user@xxxxxxxxxxxxxxx:.ssh/authorized_keys
    <mailto:user@xxxxxxxxxxxxxxx:.ssh/authorized_keys>.____

    __ __

    Could someone give that a try?


It is not possible to create a directory. But one can create a local
.ssh directory with the authorized_keys file and than do a "scp -r .ssh
user@xxxxxxxxxxxxxxx <mailto:user@xxxxxxxxxxxxxxx>:"

The only potential problem is that one cannot run chmod.
http://wiki.eclipse.org/Git#Setting_up_ssh_keys recommends to chmod .ssh
to 700 and .ssh/authorized keys to 600. But I don't see why that is
required. I'm not sure whether this is true for everyone, but my
home-directory is not readable by anyone else. Thus it should be save to
leave .ssh at 755 and authorized_keys at 644. Or is it a security
problem if the authorized_keys is readable?

Roland

    ____

    Doug.____

    __ __

    *From:* cdt-dev-bounces@xxxxxxxxxxx
    <mailto:cdt-dev-bounces@xxxxxxxxxxx>
    [mailto:cdt-dev-bounces@xxxxxxxxxxx
    <mailto:cdt-dev-bounces@xxxxxxxxxxx>] *On Behalf Of *Schaefer, Doug
    *Sent:* Thursday, June 23, 2011 8:36 PM


    *To:* CDT General developers list.
    *Subject:* Re: [cdt-dev] How to get EGit to remember my password?____

    __ __

    It’s been a long day of Indigo parties J. Let’s see what the
    webmasters can do for us (who were also at the party J).____

    __ __

    *From:* cdt-dev-bounces@xxxxxxxxxxx
    <mailto:cdt-dev-bounces@xxxxxxxxxxx>
    [mailto:cdt-dev-bounces@xxxxxxxxxxx
    <mailto:cdt-dev-bounces@xxxxxxxxxxx>] *On Behalf Of *Schaefer, Doug
    *Sent:* Thursday, June 23, 2011 8:32 PM
    *To:* CDT General developers list.
    *Subject:* Re: [cdt-dev] How to get EGit to remember my password?____

    __ __

    Thanks Sergey. We’ll move this discussion to that bug and we what we
    can get the webmasters to do for us.____

    __ __

    *From:* cdt-dev-bounces@xxxxxxxxxxx
    <mailto:cdt-dev-bounces@xxxxxxxxxxx>
    [mailto:cdt-dev-bounces@xxxxxxxxxxx
    <mailto:cdt-dev-bounces@xxxxxxxxxxx>] *On Behalf Of *Sergey Prigogin
    *Sent:* Thursday, June 23, 2011 8:28 PM
    *To:* CDT General developers list.
    *Subject:* Re: [cdt-dev] How to get EGit to remember my password?____

    __ __

    __ __

    On Thu, Jun 23, 2011 at 5:22 PM, Schaefer, Doug
    <Doug.Schaefer@xxxxxxxxxxxxx <mailto:Doug.Schaefer@xxxxxxxxxxxxx>>
    wrote:____

    I’ll look into why that bug hasn’t been fixed. I’m also wondering
    how Marc and the other guys who tested the repo got it to work or
    why they didn’t complain about it. ;). I agree, it would be
    annoying. We’ll find a solution out quickly here.____

    __ __

    I don't think this should prevent us from switching now, but
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=312378 needs to be
    prioritized by webmasters.____

        ____

        Doug.____

    __ __

    -sergey ____

        ____

        *From:* cdt-dev-bounces@xxxxxxxxxxx
        <mailto:cdt-dev-bounces@xxxxxxxxxxx>
        [mailto:cdt-dev-bounces@xxxxxxxxxxx
        <mailto:cdt-dev-bounces@xxxxxxxxxxx>] *On Behalf Of *Sergey Prigogin
        *Sent:* Thursday, June 23, 2011 8:20 PM____


        *To:* CDT General developers list.
        *Subject:* Re: [cdt-dev] How to get EGit to remember my
        password?____

        ____

        ____

        On Thu, Jun 23, 2011 at 5:10 PM, Schaefer, Doug
        <Doug.Schaefer@xxxxxxxxxxxxx
        <mailto:Doug.Schaefer@xxxxxxxxxxxxx>> wrote:____

        OK. Is the issue that the secure password store option when
        cloning the repo doesn’t work and you’re prompted over and over
        again for the password?____

        ____

        Yes. I could live with it if it asked once per Eclipse session,
        but it asks at least once per remote repository operation,
        sometimes more than once. ____

        ____

        -sergey____

            ____

            *From:* cdt-dev-bounces@xxxxxxxxxxx
            <mailto:cdt-dev-bounces@xxxxxxxxxxx>
            [mailto:cdt-dev-bounces@xxxxxxxxxxx
            <mailto:cdt-dev-bounces@xxxxxxxxxxx>] *On Behalf Of
            *Marc-Andre Laperle
            *Sent:* Thursday, June 23, 2011 8:07 PM
            *To:* CDT General developers list.____


            *Subject:* Re: [cdt-dev] How to get EGit to remember my
            password?____

            ____

            I think project leads are not restricted. Looks like no
            commands at all are allowed. No, 'vi' command doesn't work.
            Neither does a single 'cd'.

            In the Git wiki:
            "This doesn't work unless you are a project lead or are
            granted a proper shell to work in (only project leads at the
            moment). See bug 312034.]"
            http://wiki.eclipse.org/Git#Setting_up_ssh_keys

            Marc-Andre

            On 23/06/2011 7:58 PM, Schaefer, Doug wrote: ____

            My shell isn’t restricted. Does this mean you are allowed
            one command? Could that command be “vi
            .ssh/authorized_keys”? Then you’re done.____

            ____

            Doug.____

            ____

            *From:* cdt-dev-bounces@xxxxxxxxxxx
            <mailto:cdt-dev-bounces@xxxxxxxxxxx>
            [mailto:cdt-dev-bounces@xxxxxxxxxxx] *On Behalf Of *Sergey
            Prigogin
            *Sent:* Thursday, June 23, 2011 2:08 PM
            *To:* Doug Schaefer
            *Cc:* CDT General developers list.
            *Subject:* Re: [cdt-dev] How to get EGit to remember my
            password?____

            ____

            When I ssh to git.eclipse.org <http://git.eclipse.org> I'm
            getting:____

            ____

                If your prompt is r$ and you are disconnected after a
                command, ____

                you have a restricted shell.  Please contact webmaster
                for a real shell ____

                if you really need one.____

                ____

                r$____

                ____

            Is every committer supposed to independently contact
            webmaster to a get a real shell?____

            ____

            -sergey____

            ____

            On Thu, Jun 23, 2011 at 7:20 AM, Schaefer, Doug
            <Doug.Schaefer@xxxxxxxxxxxxx
            <mailto:Doug.Schaefer@xxxxxxxxxxxxx>> wrote:____

            On it’s way J.____

            ____

            http://www.youtube.com/watch?v=WU9xYP_NScQ____

            ____

            Setting up ssh authorized_keys.____

            ____

            Cheers,____

            Doug.____

            ____

            *From:* cdt-dev-bounces@xxxxxxxxxxx
            <mailto:cdt-dev-bounces@xxxxxxxxxxx>
            [mailto:cdt-dev-bounces@xxxxxxxxxxx
            <mailto:cdt-dev-bounces@xxxxxxxxxxx>] *On Behalf Of *Sergey
            Prigogin
            *Sent:* Thursday, June 23, 2011 12:07 AM
            *To:* Doug Schaefer
            *Cc:* CDT General developers list.
            *Subject:* [cdt-dev] How to get EGit to remember my
            password?____

            ____

            Hi Doug,____

            In one of your videos you mentioned that there was a way to
            configure EGit to not ask for password on every interaction
            with a remote repository. I tried to enter password by
            changing credentials on both sides of the origin but it
            didn't have any visible effect. What is the secret
            incantation to make it work?____

            ____

            -sergey____


            _______________________________________________
            cdt-dev mailing list
            cdt-dev@xxxxxxxxxxx <mailto:cdt-dev@xxxxxxxxxxx>
            https://dev.eclipse.org/mailman/listinfo/cdt-dev____

            ____

              ____

              ____

            ___________________________________________________

            cdt-dev mailing list____

            cdt-dev@xxxxxxxxxxx  <mailto:cdt-dev@xxxxxxxxxxx>____

            https://dev.eclipse.org/mailman/listinfo/cdt-dev____

            ____


            _______________________________________________
            cdt-dev mailing list
            cdt-dev@xxxxxxxxxxx <mailto:cdt-dev@xxxxxxxxxxx>
            https://dev.eclipse.org/mailman/listinfo/cdt-dev____

        ____


        _______________________________________________
        cdt-dev mailing list
        cdt-dev@xxxxxxxxxxx <mailto:cdt-dev@xxxxxxxxxxx>
        https://dev.eclipse.org/mailman/listinfo/cdt-dev____

    __ __




--
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov <http://cmb.ornl.gov>
865-241-1537, ORNL PO BOX 2008 MS6309



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top