On 03/21/2016 12:18 PM, Edwin Aponte wrote:
AllowAgentForwarding yes was commented on my /etc/ssh/sshd_config. I uncommented it and restarted the sshd service but I still don't have the SSH_AUTH_SOCK variable set (over ssh). If I ssh to the server and run:
I believe you would want to authorize that on your target machine. sshd_config is used for incoming ssh sessions. ssh_config is used for out going ssh sessions, but you can override this with ssh command line switches. however, if the target machine (ubuntu as I understand it) did not have AllowAgentForwarding yes, then nothing you did on the command line of your source machine would have any effect. Also read the notes at the top of the sshd_config regarding the commented out lines. In the Opensuse world, #AllowAgentForwarding yes Documents the default (as shipped) configuration, but also supplies a template for you to change it. So AgentForwarding is set YES by default, and you need not uncomment it. If you wanted to change it to NO, you would have to both uncomment it and set it to NO. But again, this applies to INCOMING connections, so you have to check what ubunto supports Your OUTGOING connections from Opensuse to ubuntu will not have agentforwarding turned on by default unless you over-ride th command line with some swithes. This is so because in ssh_config there exists the line: # ForwardAgent no which documents the default connection setting of no agent forwarding. You need -A to forward agent to target, providing target allows such. -- After all is said and done, more is said than done. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org