Mail Archives: cygwin/2005/02/18/15:08:20
--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Fri, Feb 18, 2005 at 01:41:14PM -0500, Christopher Faylor wrote:
> On Fri, Feb 18, 2005 at 09:21:56AM -0800, David Rothenberger wrote:
> >On 2/18/2005 6:30 AM, Jean-Sebastien Trottier wrote:
> >>On Wed, Feb 16, 2005 at 11:23:03AM -0800, David Rothenberger wrote:
> >>
> >>>I'm having a problem with the 20050215 snapshot (and the 20050131 as
> >>>well). My ssh-agent connection is not being forwarded by ssh. This is
> >>>working fine with the 20041119 snapshot.
> >>>
> >>Have you tried " ssh -A `hostname` " instead... just to make sure the
> >>ssh actually forwards the agent?
> >>
> >>If this works (and it should), add "ForwardAgent yes" to your
> >>~/.ssh/config file. see "man ssh_config" for details
> >
> >Yeah, I know about configuring ssh. As I mentioned in my original email,=
=20
> >this is working fine for me with the 20041119 snapshot. So, I do have=20
> >things configured correctly. But, I did try it with the -A switch and=20
> >had the same result.
>=20
> I still can't duplicate this. Sorry.
>=20
I'm able to reproduce it here...
With "current" cygwin1.dll version:
inside the ssh session, $SSH_AUTH_SOCK points to:
% ls -l $SSH_AUTH_SOCK
srwxrwxrwx 1 SYSTEM root 51 Feb 18 14:52 /tmp/ssh-rsSRvl3964/agent.396=
4=3D
% getfacl $SSH_AUTH_SOCK
# file: /tmp/ssh-rsSRvl3964/agent.3964
# owner: SYSTEM
# group: root
user::rwx
group::rwx
mask:rwx
other:rwx
ssh client is able to use this socket for further public key verfificat=
ion
With 20050215 snapshot:
inside the ssh session, $SSH_AUTH_SOCK points to:
% ls -l $SSH_AUTH_SOCK
ls: /tmp/ssh-fHDEinn252/agent.252: Permission denied
% getfacl $SSH_AUTH_SOCK
getfacl: Permission denied
ssh client is *NOT* able to use this socket.
With both versions, the permissions on the socket's directory are
exactly the same:
% ls -ld /tmp/ssh-rsSRvl3964
drwx------+ 2 SYSTEM root 0 Feb 18 14:52 /tmp/ssh-rsSRvl3964
% getfacl /tmp/ssh-rsSRvl3964
# file: /tmp/ssh-rsSRvl3964
# owner: SYSTEM
# group: root
user::rwx
group::---
mask:rwx
other:---
default:user::rwx
default:group::---
default:other:---
I hope this helps... at least it should give you a clue
Note: I've got sshd running as a SYSTEM service. Running is in
non-detached or debug mode works fine, obviously.
Sebastien
> cgf
>=20
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>=20
--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCFksbWHtULG0eY+ERAvAlAJ402arMVDyV5JZZL/jho6PXuUoAZACeMKcq
q8W/8Et7jbJmsI3LRjR4SBg=
=X9VX
-----END PGP SIGNATURE-----
--fUYQa+Pmc3FrFX/N--
- Raw text -