Lines Matching refs:err_msg
839 char *err_msg = NULL; in ssh_statemach_act() local
840 (void)libssh2_session_last_error(sshc->ssh_session, &err_msg, NULL, 0); in ssh_statemach_act()
841 failf(data, "Failure establishing ssh session: %d, %s", rc, err_msg); in ssh_statemach_act()
1011 char *err_msg = NULL; in ssh_statemach_act() local
1013 &err_msg, NULL, 0); in ssh_statemach_act()
1014 infof(data, "SSH public key authentication failed: %s\n", err_msg); in ssh_statemach_act()
1218 char *err_msg = NULL; in ssh_statemach_act() local
1226 &err_msg, NULL, 0); in ssh_statemach_act()
1227 failf(data, "Failure initializing sftp session: %s", err_msg); in ssh_statemach_act()
2457 char *err_msg = NULL; in ssh_statemach_act() local
2459 &err_msg, NULL, 0); in ssh_statemach_act()
2460 infof(data, "Failed to close libssh2 file: %d %s\n", rc, err_msg); in ssh_statemach_act()
2494 char *err_msg = NULL; in ssh_statemach_act() local
2495 (void)libssh2_session_last_error(sshc->ssh_session, &err_msg, in ssh_statemach_act()
2497 infof(data, "Failed to close libssh2 file: %d %s\n", rc, err_msg); in ssh_statemach_act()
2552 char *err_msg = NULL; in ssh_statemach_act() local
2561 &err_msg, NULL, 0)); in ssh_statemach_act()
2562 failf(conn->data, "%s", err_msg); in ssh_statemach_act()
2626 char *err_msg = NULL; in ssh_statemach_act() local
2636 &err_msg, NULL, 0)); in ssh_statemach_act()
2637 failf(conn->data, "%s", err_msg); in ssh_statemach_act()
2679 char *err_msg = NULL; in ssh_statemach_act() local
2681 &err_msg, NULL, 0); in ssh_statemach_act()
2683 rc, err_msg); in ssh_statemach_act()
2696 char *err_msg = NULL; in ssh_statemach_act() local
2698 &err_msg, NULL, 0); in ssh_statemach_act()
2699 infof(data, "Failed to get channel EOF: %d %s\n", rc, err_msg); in ssh_statemach_act()
2712 char *err_msg = NULL; in ssh_statemach_act() local
2714 &err_msg, NULL, 0); in ssh_statemach_act()
2715 infof(data, "Channel failed to close: %d %s\n", rc, err_msg); in ssh_statemach_act()
2728 char *err_msg = NULL; in ssh_statemach_act() local
2730 &err_msg, NULL, 0); in ssh_statemach_act()
2732 rc, err_msg); in ssh_statemach_act()
2754 char *err_msg = NULL; in ssh_statemach_act() local
2756 &err_msg, NULL, 0); in ssh_statemach_act()
2758 rc, err_msg); in ssh_statemach_act()
2769 char *err_msg = NULL; in ssh_statemach_act() local
2771 &err_msg, NULL, 0); in ssh_statemach_act()
2773 rc, err_msg); in ssh_statemach_act()
2798 char *err_msg = NULL; in ssh_statemach_act() local
2800 &err_msg, NULL, 0); in ssh_statemach_act()
2802 rc, err_msg); in ssh_statemach_act()
2820 char *err_msg = NULL; in ssh_statemach_act() local
2822 &err_msg, NULL, 0); in ssh_statemach_act()
2823 infof(data, "Failed to free libssh2 session: %d %s\n", rc, err_msg); in ssh_statemach_act()