You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Piroumian Konstantin <KP...@protek.com> on 2002/08/16 11:18:37 UTC

RE: cvs commit: xml-forrest/src/documentation/content/xdocs/commu nity/howto/cvs-ssh howto-cvs-ssh.xml

> From: mpo@apache.org [mailto:mpo@apache.org] 
> 
> mpo         2002/08/16 02:02:41
> 
>   Modified:    src/documentation/content/xdocs/community/howto/cvs-ssh
>                         howto-cvs-ssh.xml
>   Log:
>   Added the line (%chmod 700 ~/.ssh) in described ssh setup 
> on remote host.
>   Tests proved the drwx------ setting to be an absolute must 
> to get things working.

Can't remember that I've ever used this command during setup of SSH.

Konstantin

>   Thanks to Stefaan Van der Voorde <st...@pandora.be> 
> for pointing
>   out and doing initial tests.
>   
>   Revision  Changes    Path
>   1.7       +1 -0      
> xml-forrest/src/documentation/content/xdocs/community/howto/cv
> s-ssh/howto-cvs-ssh.xml
>   
>   Index: howto-cvs-ssh.xml
>   ===================================================================
>   RCS file: 
> /home/cvs/xml-forrest/src/documentation/content/xdocs/communit
> y/howto/cvs-ssh/howto-cvs-ssh.xml,v
>   retrieving revision 1.6
>   retrieving revision 1.7
>   diff -u -r1.6 -r1.7
>   --- howto-cvs-ssh.xml	14 Aug 2002 11:48:16 -0000	1.6
>   +++ howto-cvs-ssh.xml	16 Aug 2002 09:02:41 -0000	1.7
>   @@ -92,6 +92,7 @@
>    $ scp ~/.ssh/id_dsa.pub userxxx@cvs.apache.org:.
>    $ ssh -l userxxx -L 2401:localhost:2401 cvs.apache.org
>    % mkdir ~/.ssh
>   +% chmod 700 ~/.ssh
>    % cat ~/id_dsa.pub >> ~/.ssh/authorized_keys2
>    % rm ~/id_dsa.pub
>    % chmod 600 ~/.ssh/*
>   
>   
>   
> 

RE: cvs commit: xml-forrest/src/documentation/content/xdocs/community/howto/cvs-ssh howto-cvs-ssh.xml

Posted by David Crossley <cr...@indexgeo.com.au>.
Piroumian Konstantin wrote:
> > From: mpo@apache.org
> > 
> > mpo         2002/08/16 02:02:41
> > 
> >   Modified:    src/documentation/content/xdocs/community/howto/cvs-ssh
> >                         howto-cvs-ssh.xml
> >   Log:
> >   Added the line (%chmod 700 ~/.ssh) in described ssh setup 
> > on remote host.
> >   Tests proved the drwx------ setting to be an absolute must 
> > to get things working.
> 
> Can't remember that I've ever used this command during setup of SSH.
> 
> Konstantin

Mine is set as Marc describes. SSH is rightfully very picky
about file permissions.

--David


RE: cvs commit: xml-forrest/src/documentation/content/xdocs/community/howto/cvs-ssh howto-cvs-ssh.xml

Posted by Marc Portier <mp...@outerthought.org>.

> -----Original Message-----
> From: Piroumian Konstantin [mailto:KPiroumian@protek.com]
> Sent: vrijdag 16 augustus 2002 11:19
> To: 'forrest-dev@xml.apache.org'
> Subject: RE: cvs commit:
> xml-forrest/src/documentation/content/xdocs/commun
> ity/howto/cvs-ssh howto-cvs-ssh.xml
>
>
> > From: mpo@apache.org [mailto:mpo@apache.org]
> >
> > mpo         2002/08/16 02:02:41
> >
> >   Modified:
> src/documentation/content/xdocs/community/howto/cvs-ssh
> >                         howto-cvs-ssh.xml
> >   Log:
> >   Added the line (%chmod 700 ~/.ssh) in
> described ssh setup
> > on remote host.
> >   Tests proved the drwx------ setting to be an
> absolute must
> > to get things working.
>
> Can't remember that I've ever used this command
> during setup of SSH.
>

maybe your umask covered it?
tests showed the need for the drwx------  and this makes it
independent of how the umask is set I guess.

mmmm, I have to give in: there is more to it...
on cvs.apache server it works regardless of the settings on
the .ssh :-(

sorry for stepping in so bluntly,
mmm, the change makes it work on more environments, but he
wording could be made intellectually more correct maybe?
I'm doing some more tests first now...

regards,
-marc=

> Konstantin
>
> >   Thanks to Stefaan Van der Voorde
> <st...@pandora.be>
> > for pointing
> >   out and doing initial tests.
> >
> >   Revision  Changes    Path
> >   1.7       +1 -0
> >
> xml-forrest/src/documentation/content/xdocs/commun
> ity/howto/cv
> > s-ssh/howto-cvs-ssh.xml
> >
> >   Index: howto-cvs-ssh.xml
> >
> ==================================================
> =================
> >   RCS file:
> >
> /home/cvs/xml-forrest/src/documentation/content/xd
> ocs/communit
> > y/howto/cvs-ssh/howto-cvs-ssh.xml,v
> >   retrieving revision 1.6
> >   retrieving revision 1.7
> >   diff -u -r1.6 -r1.7
> >   --- howto-cvs-ssh.xml	14 Aug 2002
> 11:48:16 -0000	1.6
> >   +++ howto-cvs-ssh.xml	16 Aug 2002
> 09:02:41 -0000	1.7
> >   @@ -92,6 +92,7 @@
> >    $ scp ~/.ssh/id_dsa.pub userxxx@cvs.apache.org:.
> >    $ ssh -l userxxx -L 2401:localhost:2401
> cvs.apache.org
> >    % mkdir ~/.ssh
> >   +% chmod 700 ~/.ssh
> >    % cat ~/id_dsa.pub >> ~/.ssh/authorized_keys2
> >    % rm ~/id_dsa.pub
> >    % chmod 600 ~/.ssh/*
> >
> >
> >
> >
>