Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Secure Shell

Reply
 
Thread Tools Display Modes
  #1  
Old 09-28-2017, 07:15 AM
MartBrooks MartBrooks is offline
Registered User
 
Join Date: Dec 2015
Posts: 11
Warning when exporting configuration

Hello

When I export my SecureCRT configuration, I get this warning:

2017-09-28 14:03:31,warn,The file "C:\Users\Martin A. Brooks\Documents\Identity.pub::rawkey" could not be opened for reading: The filename, directory name, or volume label syntax is incorrect.

This is with version 8.1.4.

What might be causing this?


Regards

Martin.
Reply With Quote
  #2  
Old 09-28-2017, 08:46 AM
MartBrooks MartBrooks is offline
Registered User
 
Join Date: Dec 2015
Posts: 11
To follow up on this, I tried to import the resulting file onto a fresh installation of SCRT and it failed, complaining about this file being missing.


Mart.
Reply With Quote
  #3  
Old 09-28-2017, 10:48 AM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 765
Quote:
Originally Posted by MartBrooks View Post
When I export my SecureCRT configuration, I get this warning:

2017-09-28 14:03:31,warn,The file "C:\Users\Martin A. Brooks\Documents\Identity.pub::rawkey" could not be opened for reading: The filename, directory name, or volume label syntax is incorrect.

This is with version 8.1.4.

What might be causing this?

If you check your Default session's (Options > Edit Default Session...) Connection > SSH2 category; go to the Authentication group and select the PublicKey method and then press the Properties button there.

Does your "Use identity or certificate file" path have a trailing ::rawkey directive?

If you remove that ::rawkey portion, and save your Default session (Only apply changes to the Default session, *not* to all of your sessions),
are you now able to export successfully?


--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
support@vandyke.com
http://www.vandyke.com/support
Reply With Quote
  #4  
Old 10-02-2017, 02:51 AM
MartBrooks MartBrooks is offline
Registered User
 
Join Date: Dec 2015
Posts: 11
Hello

Sorry for the tardy reply, busy weekend.

Quote:
Originally Posted by jdev View Post
If you check your Default session's (Options > Edit Default Session...) Connection > SSH2 category; go to the Authentication group and select the PublicKey method and then press the Properties button there.

Does your "Use identity or certificate file" path have a trailing ::rawkey directive?
No, there's no such string present.

Regards

Martin.
Reply With Quote
  #5  
Old 10-02-2017, 12:07 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
 
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 765
OK, so you've eliminated the Default session from being the one that is referencing a .pub file with the ::rawkey directive.

You'll need to identify which of your sessions is specifying the public key file with a ::rawkey at the end of it.

You might be able to leverage the search functionality of Windows file Explorer...
  1. Open your SecureCRT Global Options, and in the Configuration Paths category, copy that full path to the clipboard.
  2. "Run" the path (Win+R, and paste into the Open field; alternatively, open Windows explorer (Win+E) and paste the path into the address bar (Alt+D, Ctrl+V).
  3. Drill down into the Sessions sub folder
  4. Press Ctrl+F to highlight the "Find/Search" field and type therein this:

    contents:rawkey


    That should get you a listing of the files that have rawkey somewhere in the session options.

    If the above doesn't help you to identify which session(s) had the ::rawkey as part of the path, you'll need to go through each of your sessions one-by-one to discover which one it is.

    Alternatively, you could run the script example I've included below to help you identify which session(s) have this problematic identity file path addendum.

Does this help you?

--Jake
__________________
Jake Devenport
VanDyke Software
Technical Support
support@vandyke.com
http://www.vandyke.com/support
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 04:17 AM.