Re: SSH Agent Forwarding Not Working (pkgoyq: message 2 of 17)

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Wed, Jul 11, 2018 at 11:53 PM Peter Moody wrote:
>
> > However, the forwarding doesn't seem to be actually working - "ssh -T
> > git@xxxxxxxxxx" works locally, but not if I run it on the server
> > (machine B). `ssh-add -l` prints fine locally, but prints "The agent
> > has no identities" on the server.
>
> it sounds like something on B is running a new ssh-agent process when
> you log in.
>
> when you ssh to B, is your $SSH_AUTH_SOCK owned by 'sshd' or
> 'ssh-agent'? if you've forwarded your agent, it should be owned by
> sshd on the remote host.

BINGO!!!

OMG! I've been trying to troubleshoot this problem for nearly **7**
years, and it now get solved just like that!

I launch keychain in my ~/.profile, which starts its own 'ssh-agent'.
Guess I'll remove it and start it manually only from machine A from
now on.

Thanks again Peter, I can't express how appreciate I am enough!
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux