Fix print_command_result
Add ssh command