put open_all into own function: session_open_all
make ssh syslog (-y) work on linux or do not use