[X2go-Commits] libpam-x2go.git - master (branch) updated: 62d207adea95518ae3db31cd2938cca32bd4e61b
X2Go dev team
git-admin at x2go.org
Fri Nov 9 15:57:15 CET 2012
The branch, master has been updated
via 62d207adea95518ae3db31cd2938cca32bd4e61b (commit)
from afd75ad6e7353df58d2a55376cc54ab8423e09e7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 62d207adea95518ae3db31cd2938cca32bd4e61b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Nov 9 15:56:38 2012 +0100
report the type of error during SSH connection
-----------------------------------------------------------------------
Summary of changes:
src/x2go-auth-check.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
The diff of changes is:
diff --git a/src/x2go-auth-check.c b/src/x2go-auth-check.c
index 936bea9..9e1aba3 100644
--- a/src/x2go-auth-check.c
+++ b/src/x2go-auth-check.c
@@ -71,9 +71,10 @@ main (int argc, char * argv[])
printf ("4\n");
int rc;
- rc = ssh_connect (auth_check_ssh_session);
+ rc = ssh_connect ( auth_check_ssh_session );
printf ("%i\n", rc);
if ( rc != SSH_OK ) {
+ fprintf ( stderr, "Error connecting to via SSH: %s\n", ssh_get_error ( auth_check_ssh_session ) );
ssh_free(auth_check_ssh_session);
return -1;
}
@@ -82,6 +83,7 @@ main (int argc, char * argv[])
rc = ssh_userauth_password ( auth_check_ssh_session, NULL, password );
if ( rc != SSH_AUTH_SUCCESS ) {
+ fprintf ( stderr, "Error connecting to via SSH: %s\n", ssh_get_error ( auth_check_ssh_session ) );
ssh_disconnect(auth_check_ssh_session);
ssh_free(auth_check_ssh_session);
return -1;
hooks/post-receive
--
libpam-x2go.git (Remote login session via X2Go (PAM module))
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libpam-x2go.git" (Remote login session via X2Go (PAM module)).
More information about the x2go-commits
mailing list