we have some scripts in one server , whcih will do a ssh to the production application servers and execute some jobs like recycle , start and stop servers but when ever we have the ssh issues that particular jobs will be failed so if we face such issues, we were told to clear the /tmp/ssh-user directory in the parent server
Can we have a permanent fix for this issue ..
Do you have access to our support site? If so, you can log a feature request there.
The "/tmp/ssh-" directories are required. Clearing / Deleting is of course fine, however only when all ssh-server related processes are stopped. There is a race condition if the /tmp/ssh- directory is removed while a ssh process is running.
Once option is to stop the server, and then run the clean up script, then start the server again.
answered Apr 06 '11 at 12:14