Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Arlie
Wanderer


Joined: 09 Jun 2006
Posts: 62
Location: Florida

PostPosted: Sat Sep 08, 2007 5:48 am   

[2.03Pro] SSH to Windows Server causing gibberish
 
I'm connecting to my own, local server. It happens to be running on Windows as opposed to a flavor of *NIX, so I'm wondering if that may be causing the problem... when I connect, I don't get an echo of any kind showing my prompt or anything, it's simply blank. When I type something such as 'ls -l' or 'dir', I get something that looks like...
Code:

C:\Users\*****>dir8O$I_?&M/4UU[)QO%"^=YP;8:5/4=H$E5[8"O;R*?X2$:&LK&BWJNY!D[F%W@:_"4!_D%B]'+'L>:?1J]@6#_P:5K&,IX-XF])A7K\/NZ+J)D=(U2$$P3?0T4^,P-(79X:DA'Q1&6*U/?'X3M5HZ3,)'=7L7'4#CM]S,#)K8&-TWRG*
WO2X$4V. IB,!W'O>(8O$I_?&M/4UU[)QO%"^=YP;8:5/4=H$E5[8"O;R*?X2$:&LK&BWJNY!D[F%W@:_"4!_D%B]'+'L>:?1J]@6#_P:5K&,IX-XF])A7K\/NZ+J)D=(U2$$P3?0T4^,P-(79X:DA'Q1&6*U/?'X3M5HZ3,)'=7L7'4#CM]S,#)K8&-TWRG*

The local server can be connected to fine with PuTTy, Bitvise, etc., but it seems to be giving gibberish when using Pro. I'm sure it's some kind of setting I need to set to make it happy, but I'm not sure what that is.

For the record, I can connect fine to another Linux SSH box I have and it's working beautifully :)
Reply with quote
bortaS
Magician


Joined: 10 Oct 2000
Posts: 320
Location: Springville, UT

PostPosted: Sat Sep 08, 2007 3:54 pm   
 
What type of server are you connecting to? And what's the brand name?
_________________
bortaS
~~ Crusty Klingon Programmer ~~
Reply with quote
Arlie
Wanderer


Joined: 09 Jun 2006
Posts: 62
Location: Florida

PostPosted: Sat Sep 08, 2007 4:51 pm   
 
It's WinSSHD server (An... SSH server), by Bitvise. It's a simple SSH server; beyond that I don't know exactly what "type" it is, other than it accepts all of the encryption and comperssion protocols that CMud lists in its preferences and such.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Sep 10, 2007 8:39 pm   
 
When you get the error, go to the Tools menu and select Message Log. Copy/paste the contents of that into your forum post so I can see what error it might be getting.

Also, what version of Windows is the server running on? XP, 2003, Vista?

I am using a very robust 3rd party SSH component, and there are no reported problems with it on Windows. So it might be a bug in the Bitvise server. Is the Bitvise WinSSHD software up to date?

You can also go into your SSH Preferences and try changing the order of some of the SSH authentication and encryption protocols to see if you can get it to work that way. But I'd appreciate anything that you can find that might help. Or, if there is a way to set up an account for me on your server that I can test, please send me an email with the hostname and login information for me to test.
Reply with quote
Arlie
Wanderer


Joined: 09 Jun 2006
Posts: 62
Location: Florida

PostPosted: Mon Sep 10, 2007 8:49 pm   
 
I'll try getting a warning log and trying some of the other things. I thought it may be the Bitvise server as well, but two other SSH clients I use work fine with it, so it's hard to say if that's what it is. I'm running this on Windows Vista.

The output of the log is as follows:
Code:
09/10/07 15:45:26 : Looking up IP address for localhost
09/10/07 15:45:26 : Connecting to 127.0.0.1 22
09/10/07 15:45:26 : Attempting connection to 127.0.0.1
09/10/07 15:45:26 : Connected to 127.0.0.1
09/10/07 15:45:26 : Key validated : DSS (79:18:f3:3b:cf:bc:80:28:c5:08:15:e0:85:da:2c:46)
09/10/07 15:45:26 : SSH Authentication successful
09/10/07 15:45:26 : SSH Connection opened
09/10/07 15:45:26 : Tunnel Opened
09/10/07 15:45:26 : Server: 1.82 sshlib: WinSSHD 4.23
09/10/07 15:45:26 : Version: SSHv2
09/10/07 15:45:26 : PublicKey algorithm: ssh-dss
09/10/07 15:45:26 : Kex algorithm: diffie-hellman-group14-sha1
09/10/07 15:45:26 : Encryption algorithm: aes256-cbc
09/10/07 15:45:26 : Compression algorithm: none
09/10/07 15:45:26 : MAC algorithm: hmac-sha1


I'll attempt to set up an account for you shortly, Zugg; see if I can solve it first by trying different authentication/encryption protocols as you said, and check if that fixes it.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Mon Sep 10, 2007 9:04 pm   
 
OK, definitely try disabling various Encyption Algorighms in the Algorithm properties to see if you can find one that works. Also, you might try turning on the Force Compression option in the general SSH preferences to see if that helps.

Programs like PuTTY have obviously been doing this for a long time, so they might have some kludges coded to handle "problem servers".

Also, I've read some reports that on Windows 2003 Server (which would be similar to issues on Vista), that you need to connect to your actual IP address instead of using 127.0.0.1, so you might also try that.
Reply with quote
Arlie
Wanderer


Joined: 09 Jun 2006
Posts: 62
Location: Florida

PostPosted: Tue Sep 11, 2007 12:03 am   
 
I went ahead and started using a different SSH server and I haven't been having the same problems. I still find it rather odd that my other SSH clients worked and CMud didn't, but I'm just going to be happy that I found a working alternative and say screw it. Thanks for the help nonetheless.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Sep 11, 2007 12:08 am   
 
Well, since the purpose of Beta Testing is to help me find problems, I'd really appreciate it if you could play with the settings as mentioned above and try to help track down the problem. I'm sure other users who have the same kind of SSH Server would appreciate it if I could fix this.
Reply with quote
Arlie
Wanderer


Joined: 09 Jun 2006
Posts: 62
Location: Florida

PostPosted: Tue Sep 11, 2007 12:19 am   
 
I did try all of the things suggested (primarily changing the encryption protocol and such), but with no success. I don't have admin access to my local network and my sysadmin was refusing to give me rights to open port 22 so I couldn't do much about making you an account either. I'll keep trying to pick at it as much as I can, however, and see if there's something I can do.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Sep 11, 2007 5:10 pm   
 
Did you try using the actual IP address of the computer instead of using 127.0.0.1?
Reply with quote
Arlie
Wanderer


Joined: 09 Jun 2006
Posts: 62
Location: Florida

PostPosted: Tue Sep 11, 2007 7:03 pm   
 
Aye. I tried using localhost (which just maps to 127.0.0.1 anyway, I know), 127.0.0.1, and my internal network address as well. I also had a friend on another computer near mine SSH to my machine with the same results.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net