Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11-07-2006, 04:38 PM
ScottMac ScottMac is offline
Registered User
 
Join Date: Nov 2006
Posts: 3
Transferring Session file From Ver 5 down to Ver 4

I copied my version 5.2 config/session files to a machine with version 4.13.

The files loads, the parameters all appear correct in the properties windows. However, when trying to connect, an error occurs 'Invalid Protocol: SSH2"

Any fix for this (other than "Upgrade everyone to version 5.2")?

Thanks

Scott
Reply With Quote
  #2  
Old 11-07-2006, 05:43 PM
mekanik mekanik is offline
Registered User
 
Join Date: Jul 2005
Posts: 46
Hi ScottMac,

Sounds like there is a compatibility issue with the INI file between release 5.2 and release 4.13. Could you upload your INI file or a portion of the INI configuration relating to the connection protocol.

Example SSH2

S:"Protocol Name"=SSH2
D:"[SSH2] Port"=00000016
S:"SSH2 Authentications V2"=publickey,password,keyboard-interactive,gssapi
D:"SSH2 Common Config Version"=00000002

cd <to session config path>
type <session-name> | findstr SSH

/mekanik/
Reply With Quote
  #3  
Old 11-08-2006, 09:15 AM
ScottMac ScottMac is offline
Registered User
 
Join Date: Nov 2006
Posts: 3
This is the complete (sanitized) config.

Automated login and all other features work with my 5.2 client, but cause errors on the 4.13 systems (as mentioned in the OP).

Thanks!

Scott

=============== Start ======================

D:"Is Session"=00000001
S:"Protocol Name"=SSH2
D:"Request pty"=00000001
S:"Shell Command"=
D:"Force Close On Exit"=00000000
D:"Forward X11"=00000001
S:"XAuthority File"=
S:"XServer Host"=127.0.0.1
D:"XServer Port"=00001770
D:"XServer Screen Number"=00000000
D:"Enforce X11 Authentication"=00000001
D:"Request Shell"=00000001
S:"Port Forward Filter"=allow,127.0.0.0/255.0.0.0,0 deny,0.0.0.0/0.0.0.0,0
S:"Reverse Forward Filter"=allow,127.0.0.1,0 deny,0.0.0.0/0.0.0.0,0
D:"Max Packet Size"=00001000
D:"Pad Password Packets"=00000001
S:"Sftp Tab Local Directory"=C:\Documents and Settings\sm3582\My Documents
S:"Sftp Tab Remote Directory"=
S:"Hostname"={Deleted}
S:"Firewall Name"=None
S:"Username"=monitor
D:"[SSH2] Port"=00000016
S:"Password"=ab795ec100427c416293d097a4c09ae16276824c6e3b90f2
D:"Session Password Saved"=00000001
S:"Key Exchange Algorithms"=gss-group1-sha1-toWM5Slw5Ew8Mqkay+al2g==,gss-gex-sha1-toWM5Slw5Ew8Mqkay+al2g==,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
S:"Cipher List"=aes256-cbc,aes192-cbc,aes128-cbc,twofish-cbc,blowfish-cbc,3des-cbc,arcfour
S:"MAC List"=hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96
S:"SSH2 Authentications V2"=password,publickey,keyboard-interactive,gssapi
S:"Compatibility Mode V2"=Auto Detect
S:"Compression List"=zlib,none
D:"Compression Level"=00000005
D:"GEX Minimum Size"=00000400
D:"GEX Preferred Size"=000007fe
D:"Use Global Public Key"=00000001
S:"Identity Filename"=
D:"Public Key Type"=00000000
S:"GSSAPI Method"=auto-detect
S:"GSSAPI Delegation"=full
S:"GSSAPI SPN"=host@$(HOST)
D:"SSH2 Common Config Version"=00000002
S:"Transfer Protocol Name"=None
D:"ANSI Color"=00000000
S:"Emulation"=VT100
S:"Default SCS"=B
D:"Keypad Mode"=00000000
D:"Line Wrap"=00000001
D:"Cursor Key Mode"=00000000
D:"Newline Mode"=00000000
D:"Enable 80/132 Column Switching"=00000001
D:"Enable Cursor Key Mode Switching"=00000001
D:"Enable Keypad Mode Switching"=00000001
D:"Enable Line Wrap Mode Switching"=00000001
D:"WaitForStrings Ignores Color"=00000000
D:"SGR Zero Resets ANSI Color"=00000001
D:"SCO Line Wrap"=00000000
D:"Display Tab"=00000000
S:"Display Tab String"=
B:"Window Placement"=0000002c
2c 00 00 00 00 00 00 00 01 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 35 01 00 00
10 00 00 00 85 03 00 00 b3 01 00 00
D:"Is Full Screen"=00000000
D:"Rows"=00000018
D:"Cols"=00000050
D:"Scrollback"=000001f4
D:"Resize Mode"=00000000
D:"Sync View Rows"=00000001
D:"Sync View Cols"=00000001
D:"Horizontal Scrollbar"=00000002
D:"Vertical Scrollbar"=00000002
S:"Color Scheme"=Monochrome
B:"Normal Font"=00000040
f3 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 90 01 00 00 00 00 00 01 00 00 00 01 76 74 31 30
30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 61 00 00 00
B:"Narrow Font"=00000040
f3 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 90 01 00 00 00 00 00 01 00 00 00 01 76 74 31 30
30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 61 00 00 00
D:"Use Narrow Font"=00000000
S:"Output Transformer Name"=Default
D:"Use Unicode Line Drawing"=00000001
D:"Blinking Cursor"=00000001
D:"Cursor Style"=00000000
D:"Use Cursor Color"=00000000
D:"Cursor Color"=00000000
D:"Foreground"=00000000
D:"Background"=00ffffff
D:"Bold"=00000000
D:"Map Delete"=00000000
D:"Map Backspace"=00000000
S:"Keymap Name"=Default
S:"Keymap Filename"=
D:"Use Alternate Keyboard"=00000000
D:"Emacs Mode"=00000000
D:"Emacs Mode 8 Bit"=00000000
D:"Preserve Alt-Gr"=00000000
B:"Keymap"=00000004
00 00 00 00
D:"Jump Scroll"=00000001
D:"Audio Bell"=00000001
D:"Visual Bell"=00000000
D:"Scroll To Clear"=00000001
D:"Close On Disconnect"=00000000
D:"Clear On Disconnect"=00000000
D:"Scroll To Bottom On Output"=00000001
D:"Scroll To Bottom On Keypress"=00000001
D:"CUA Copy Paste"=00000000
D:"Use Terminal Type"=00000000
S:"Terminal Type"=
D:"Use Answerback"=00000000
S:"Answerback"=
D:"Use Position"=00000000
D:"X Position"=00000000
D:"X Position Relative Left"=00000001
D:"Y Position"=00000000
D:"Y Position Relative Top"=00000001
D:"Local Echo"=00000000
D:"Strip 8th Bit"=00000000
D:"Shift Forces Local Mouse Operations"=00000001
D:"Ignore Window Title Change Requests"=00000000
D:"Copy Translates ANSI Line Drawing Characters"=00000000
D:"Translate Incoming CR To CRLF"=00000000
D:"Show Toolbar"=00000002
D:"Show Menu Bar"=00000002
D:"Show Status Bar"=00000002
D:"Show Chat Window"=00000002
S:"User Font Map"=
D:"Use Title Bar"=00000000
S:"Title Bar"=
D:"Use Login Script"=00000001
S:"Login Script"=7cdb18464bbd7c771abf28724bb97a2545e92e274ded797345e92f7048ea7c7744e22e774de87a2045e32f7649bd 7a7644e22e244de97c7745ea2e244de37a7e45e82b234bbd7a7345e32e7e4dba797345e32e764bbd7a7644be2f714ce37a23 44bd2e7648ee7c7745e22e774de87a7244e22e774db97c771abf28724bbd7c771abf28724bbd7c77
D:"Use Script File"=00000000
S:"Script Filename"=
S:"Upload Directory"=C:\Program Files\SecureCRT\upload
S:"Download Directory"=C:\Program Files\SecureCRT\download
D:"XModem Send Packet Size"=00000000
S:"ZModem Receive Command"=rz\r
D:"Disable ZModem"=00000000
D:"ZModem Uses 32 Bit CRC"=00000000
D:"Force 1024 for ZModem"=00000000
D:"ZModem Encodes DEL"=00000001
D:"ZModem Force All Caps Filenames to Lower Case on Upload"=00000001
S:"Log Filename"=
D:"Log Prompt"=00000000
D:"Log Mode"=00000000
D:"Start Log Upon Connect"=00000000
D:"Raw Log"=00000000
D:"Log Multiple Sessions"=00000000
D:"Trace Level"=00000000
D:"Keyboard Char Send Delay"=00000000
D:"Use Word Delimiter Chars"=00000000
S:"Word Delimiter Chars"=
D:"Idle Check"=00000000
D:"Idle Timeout"=0000012c
S:"Idle String"=
D:"Idle NO-OP Check"=00000000
D:"Idle NO-OP Timeout"=0000003c
D:"AlwaysOnTop"=00000000
D:"Use Global Advanced Print Settings"=00000001
D:"Disable Pass Through Printing"=00000000
D:"Buffer Pass Through Printing"=00000000
D:"Use Raw Mode"=00000000
D:"Use Printer Port"=00000000
D:"Printer Baud Rate"=00009600
D:"Printer Parity"=00000000
D:"Printer Stop Bits"=00000000
D:"Printer Data Bits"=00000008
D:"Printer DSR Flow"=00000000
D:"Printer DTR Flow Control"=00000001
D:"Printer CTS Flow"=00000001
D:"Printer RTS Flow Control"=00000002
D:"Printer XON Flow"=00000000
S:"Printer Port"=
D:"Eject Page Interval"=00000000
D:"Force Black On White"=00000000
D:"Disable Resize"=00000002
D:"Auto Reconnect"=00000002
D:"Minimize To Tray"=00000002
D:"Use Global Print Settings"=00000001
B:"Page Margins"=00000020
00 00 00 00 00 00 e0 3f 00 00 00 00 00 00 e0 3f 00 00 00 00 00 00 e0 3f 00 00 00 00 00 00 e0 3f
B:"Printer Font"=00000040
f3 ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 90 01 00 00 00 00 00 00 03 02 01 31 43 6f 75 72
69 65 72 20 4e 65 77 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64 00 00 00
D:"Page Orientation"=00000001
D:"Paper Size"=00000001
D:"Paper Source"=00000007
S:"Printer Name"=
D:"Operating System"=00000000
S:"Time Zone"=
S:"Last Directory"=
S:"Initial Local Directory"=
S:"Default Download Directory"=
D:"File System Case"=00000000
S:"File Creation Mask"=
D:"Disable Directory Tree Detection"=00000000
D:"Verify Retrieve File Status"=00000001
B:"RemoteFrame Window Placement"=0000002c
2c 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 fc ff ff ff fc ff ff ff 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00
S:"Remote ExplorerFrame State"=1,1000,200
S:"Remote ListView State"=1,1,1,0,0
D:"Restart Data Size"=00000000
S:"Restart Datafile Path"=
D:"Max Transfer Buffers"=00000004
Z:"Port Forward Table V2"=00000000
Z:"Reverse Forward Table V2"=00000000
Z:"Description"=00000000

============================ End ==========================
Reply With Quote
  #4  
Old 11-08-2006, 10:06 AM
tnygren's Avatar
tnygren tnygren is offline
Registered User
 
Join Date: May 2005
Posts: 1,408
Hi Scott,

There is a slight difference in the ini file between 4.1.x and 5.2.

The difference is in the capitalization of the protocol name.

If the line:

S:"Protocol Name"=SSH2

Is changed to:

S:"Protocol Name"=ssh2

Then the session should not display this error.

Does this help?
__________________
Thanks,

Teresa

Teresa Nygren
Reply With Quote
  #5  
Old 11-20-2006, 01:36 PM
ScottMac ScottMac is offline
Registered User
 
Join Date: Nov 2006
Posts: 3
Yep, that seems have taken care of it.

Thanks!

Scott
Reply With Quote
  #6  
Old 11-20-2006, 02:07 PM
tnygren's Avatar
tnygren tnygren is offline
Registered User
 
Join Date: May 2005
Posts: 1,408
Hi Scott,

I'm glad to hear that the new sessions are now working without the SSH2 error in the old versions!

Please let us know if you have any other questions, just let us know.
__________________
Thanks,

Teresa

Teresa Nygren
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 06:25 AM.