Changes between Version 5 and Version 6 of debug-server-to-server-connections


Ignore:
Timestamp:
May 12, 2014, 5:28:36 PM (5 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • debug-server-to-server-connections

    v5 v6  
    1818Here are the top causes for the failures, and the remedies. Note: you may need to repeat the first one ''after'' fixing the problem with one of the later steps. A failure to connect sometimes seem to kill the ssh-agent.
    1919
     20 * The connecting server does not have SSH_AUTH_SOCK set. This is set in ~/.profile. If you are debugging, you may need to source this file. If you are scripting, be sure to manually set the environment variable: SSH_AUTH_SOCK=/root/.ssh-agent-socket/sock.
    2021 * Something went wrong with ssh-agent on the connecting server. Fix: Stop and restart the service, check for existence of socket:
    2122{{{
     
    3334Note: The last cat command must produce a file with the connecting server's key or it will never work.
    3435
    35  * The connecting server does not have SSH_AUTH_SOCK set. This is set in ~/.profile. If you are debugging, you may need to source this file. If you are scripting, be sure to manually set the environment variable: SSH_AUTH_SOCK=/root/.ssh-agent-socket/sock.
    3636 * The connecting server has not published the latest version of it's key. Fix: determine the keyid of the server's secret key, and then publish it:
    3737{{{