add ssh_command_file option & fix bugs