standalone ssh_lib