Changes between Version 5 and Version 6 of debug-server-to-server-connections
- Timestamp:
- May 12, 2014, 9:28:36 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
debug-server-to-server-connections
v5 v6 18 18 Here 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. 19 19 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. 20 21 * Something went wrong with ssh-agent on the connecting server. Fix: Stop and restart the service, check for existence of socket: 21 22 {{{ … … 33 34 Note: The last cat command must produce a file with the connecting server's key or it will never work. 34 35 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.36 36 * 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: 37 37 {{{