Openssh in multithreading environment.

View: New views
1 Messages — Rating Filter:   Alert me  

Openssh in multithreading environment.

by rbhor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

i have queries regarding openssh.

1. Openssh code is not multithread safe.
scenario :
       - using solaris 8 for compilation & running application.
       - at many places fork & exec* functions are used along with other non multithread safe functions.
       - I have created a shared library of openssh & using it in other process
       - when i want to sftp something separate ssh process is created.
       - i have replaced some of the non multithread safe functions by MT safe functions.

questions :
       - How to avoid use of Fork() & execvp or exec* functions from openssh code ?
       - Or anybody has done the some thing to avoid use non Multithread safe functions?

Thanks,
Rbhor.