adds ssh-connections for each node, but not works for multi nodes with multi threads