X2Go Bug report logs - #1150
x2goclient on windows creates host_rsa_key, sshd wants host_dsa_key

version graph

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

Reported by: Enrqiue Perez-Terron <enrique@perezterron.net>

Date: Fri, 17 Feb 2017 20:55:01 UTC

Severity: normal

Tags: build-win32, pending

Merged with 1105, 1110, 1114, 1115, 1118, 1128

Found in version 4.0.5.2

Fixed in version 4.1.0.0

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#1150; Package x2goclient. (Fri, 17 Feb 2017 20:55:01 GMT) (full text, mbox, link).


Acknowledgement sent to Enrqiue Perez-Terron <enrique@perezterron.net>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Fri, 17 Feb 2017 20:55:01 GMT) (full text, mbox, link).


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

From: Enrqiue Perez-Terron <enrique@perezterron.net>
To: submit@bugs.x2go.org
Subject: x2goclient on windows creates host_rsa_key, sshd wants host_dsa_key
Date: Fri, 17 Feb 2017 21:43:30 +0100
Package: x2goclient
Version: 4.0.5.2

Error: message: 
SSH daemon failed to open its public host key

Circumstances:
I just installed the windows client on a Windows 10, 64-bit PC, 
defined a session (which uses a key file for authentication
and logs into an Ubuntu server given by IP address, where I had 
just installed the x2go server, and additionally installed gnome) 
and launched the session.

Afterward the directory C:/Users/Enrique/.x2go/etc contained the following files:

ssh_host_rsa_key
ssh_host_rsa_key.pub
sshd_config

Using cygwin on the same windows PC, I ran this command:

ssh-keygen -t dsa -b 1024 -N "" -f "C:/Users/Enrique/.x2go/etc/ssh_host_dsa_key" -q

After this, I restarted x2goclient, and the error message did not appear.

Looking at the source, it appears that the error message is emitted by
ONMainWindow::createRSAKey(), when it fails to open the file given
by the QFile object "rsa".

I observed that the createRSAKey() conditionally sets the file name on 
the object to ssh_host_dsa_key.pub, if compiled for Windows.

However, ONMainWindow::startWinServers() seems to be called unconditionally 
with RSA_KEY_TYPE, creating the rsa key file only.

I don't know why the file name in question is changed to *_dsa_* on Windows,
but if there is a good reason, the call to generateHostKey() 
in startWinServers should probably be modified accordingly. StartWinServers()
appears to be called only when compiled for Windows.

(For the record, even after running the ssh-keygen command, x2goclient
still appears to fail at starting a local sshd server, but I have not yet
investigated that. Perhaps listening on the socket port 7022 needs a 
privilege or raised "integrity label" on Windows. A black window appears,
but disappears after a while.)

Regards,
Enrique


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1150; Package x2goclient. (Sun, 26 Feb 2017 04:55:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mihai Moldovan <ionic@ionic.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sun, 26 Feb 2017 04:55:01 GMT) (full text, mbox, link).


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

From: Mihai Moldovan <ionic@ionic.de>
To: Enrqiue Perez-Terron <enrique@perezterron.net>, 1150@bugs.x2go.org
Subject: Re: x2goclient on windows creates host_rsa_key, sshd wants host_dsa_key
Date: Sun, 26 Feb 2017 05:52:30 +0100
[Message part 1 (text/plain, inline)]
Control: forcemerge -1 1105

There have been extensive changes in how X2Go Client generates keys and starts
sshd. This report is a duplicate of a few others. Please test 4.1.0.0 once
binary builds are available.



Mihai

[signature.asc (application/pgp-signature, attachment)]

Marked as fixed in versions 4.0.5.3. Request was from Mihai Moldovan <ionic@ionic.de> to 1150-submit@bugs.x2go.org. (Sun, 26 Feb 2017 04:55:02 GMT) (full text, mbox, link).


Added tag(s) build-win32 and pending. Request was from Mihai Moldovan <ionic@ionic.de> to 1150-submit@bugs.x2go.org. (Sun, 26 Feb 2017 04:55:02 GMT) (full text, mbox, link).


Merged 1105 1110 1114 1115 1118 1128 1150 Request was from Mihai Moldovan <ionic@ionic.de> to 1150-submit@bugs.x2go.org. (Sun, 26 Feb 2017 04:55:02 GMT) (full text, mbox, link).


Marked as fixed in versions 4.1.0.0. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Sun, 26 Feb 2017 05:05:02 GMT) (full text, mbox, link).


Marked as fixed in versions -4.0.5.3. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Sun, 26 Feb 2017 05:15:01 GMT) (full text, mbox, link).


No longer marked as fixed in versions 4.0.5.3 and -4.0.5.3. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Tue, 07 Mar 2017 10:35:01 GMT) (full text, mbox, link).


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1150; Package x2goclient. (Tue, 25 Aug 2020 20:45:02 GMT) (full text, mbox, link).


Acknowledgement sent to Same Day Pros <wordpress@sdp.dev.legalfish.us>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 25 Aug 2020 20:45:03 GMT) (full text, mbox, link).


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

From: Same Day Pros <wordpress@sdp.dev.legalfish.us>
To: 1150-submit@bugs.x2go.org
Subject: Thank you for submiitting your details
Date: Tue, 25 Aug 2020 20:39:51 +0000
[Message part 1 (text/plain, inline)]
Same Day Pros
												
											
										
										
											
												On Demand Same Day Service Professionals.
											
										
									
								
							
						
					
				
			
		
		

	
		
			
				
					
						
							
								
									
								
								
									
										 Hi  Hallo tуp! Iсh suche Sex in deiner Stаdt und iсh wunschtе du fickst miсh: https://ecuadortenisclub.com/nbhjg321644?o=ADULT-DATING,
									
								
								
									
								
								
									
										Thank you for contacting on Same Day Pros. We have received your message and would like to thank you for writing to us. If your inquiry is urgent, please call us to talk to one of our staff members. Otherwise, we will reply by email as soon as possible.
									
								
								
									
								
								
									
										
											
												
													
														Thanks & Regards,
													
												
												
													
														Same Day Pros team
													
												
												
													
														-------------------------------
													
												
											
										
									
								
								
									
								
								
									
										Need Help? Write to us at support@samedaypros.com.
									
								
								
									
								
							
						
					
				
				
					
						
							
								
									
										
											
												
													
														Connect to us :
													
													
														
															
																
																	
																		
																			
																				
																					
																				
																				
																				
																					
																				
																				
																				
																					
																				
																			
																		
																	
																
															
														
													
												
											
										
									
								
							
						
					
				
				
					
						
							
								
									
										
											
												
													
														You have received this email because you have an account registered at
														samedaypros.com. This is a commercial email from samedaypros.com
													
												
											
										
									
								
							
						
					
				
				
					
						
							
								
									
										
											
												
													
														
															
														
													
													
														
															
														
													
													
														© 2020 Same Day Pros.

[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Mar 19 08:56:06 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.