X2Go Bug report logs - #732
X2Go Client falls back to SSH pub/priv key auth if GSSAPI fails

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Fri, 9 Jan 2015 23:25:01 UTC

Severity: important

Found in version 4.0.3.1

Fix blocked by 733: SSH GSSAPI: use master+slave sockets

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#732; Package x2goclient. (Fri, 09 Jan 2015 23:25:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 09 Jan 2015 23:25:01 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Subject: X2Go Client falls back to SSH pub/priv key auth if GSSAPI fails
Date: Fri, 09 Jan 2015 23:22:09 +0000
[Message part 1 (text/plain, inline)]
Package: x2goclient
Severity: important
Version: 4.0.3.1

I have not yet obtained a Kerberos ticket via kinit...

I have an SSH private key protected with a passphrase...

My X2Go session profile configuration for SSH auth is:

key=
krblogin=true
autologin=false
krbdelegation=false

I expect authentication to fail (reporting that my ticket cache is  
empty or such).

What happens is this:

"""
x2go-INFO-1> "Starting x2goclient..."
x2go-WARNING-1> "Can't load translator: :/x2goclient_c"
x2go-WARNING-2> "Can't load translator: :/qt_C"
x2go-DEBUG-../onmainwindow.cpp:1203> Removing apps from tray
x2go-DEBUG-../onmainwindow.cpp:1171> Plugging apps in tray.
x2go-INFO-3> "Started  x2goclient."
x2go-DEBUG-../onmainwindow.cpp:490> "$HOME=/home/mike"
x2go-DEBUG-../onmainwindow.cpp:2118> Reading 72 sessions from config file.
QPixmap::scaled: Pixmap is a null pixmap
x2go-DEBUG-../onmainwindow.cpp:2663> Starting session via smartcard,  
ssh-agent or kerberos token.
x2go-DEBUG-../onmainwindow.cpp:1203> Removing apps from tray
x2go-INFO-8> "Starting connection to server: <host>:<port>"
x2go-DEBUG-../onmainwindow.cpp:2697> Start new ssh connection to  
server:"<host>":"<port>" krbLogin: true
x2go-DEBUG-../sshmasterconnection.cpp:198> starting ssh connection  
with kerberos authentication

x2go-DEBUG-../sshmasterconnection.cpp:206> SshMasterConnection,  
instance SshMasterConnection(0x1f0b670)  created
x2go-DEBUG-../sshmasterconnection.cpp:442> SshMasterConnection,  
instance SshMasterConnection(0x1f0b670)  entering thread
x2go-DEBUG-../sshmasterconnection.cpp:478> libSsh not inited yet, initting

x2go-DEBUG-../sshmasterconnection.cpp:789> cserverAuth

x2go-DEBUG-../sshmasterconnection.cpp:804> state: 1

x2go-DEBUG-../sshmasterconnection.cpp:1153> starting ssh:"ssh -o  
GSSApiAuthentication=yes mike@<host> -p <port> -o  
PasswordAuthentication=no sh -c 'echo  
X2GODATABEGIN:df7fa883-5dc3-4623-b9dd-16b62f069fc5; whoami; echo  
X2GODATAEND:df7fa883-5dc3-4623-b9dd-16b62f069fc5;'"

Enter passphrase for key '/home/mike/.ssh/id_rsa':
"""

X2Go Client waits for me entering my SSH private key password while  
setting up the SSH master connection.

This should not happen... Authentication should fail and a proper  
error message (GSSAPI requires a valid Kerberos ticket cache or  
similar) should be reported.

Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Digitale_PGP_Signatur (application/pgp-signature, attachment)]
[Message part 3 (application/pgp-signature, inline)]

Added blocking bug(s) of 732: 733 Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to submit@bugs.x2go.org. (Fri, 09 Jan 2015 23:50:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Nov 10 17:02:16 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.