Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > General

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2015, 09:54 AM
nick2016 nick2016 is offline
Registered User
 
Join Date: Mar 2015
Posts: 4
Moving Config folder data

Hi,

I've moved users config folders from one server to another and when they try and access a SSH connection from the new server we get the following error:

debug1: Trying private key: /home/user1/.ssh/identity
debug1: Trying private key: /home/user1/.ssh/id_rsa
debug1: Trying private key: /home/user1/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
admin@blahblah password:

It works ok on the source server.

Any idea's ?

Thanks
Reply With Quote
  #2  
Old 03-09-2015, 10:23 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hello nick2016,

Are you reporting that public-key authentication is failing?

What version of SecureCRT was installed when you migrated the config folder?

If v7.3.x, did you use the new Export Settings... feature from Tools menu?

If an earlier version of SecureCRT (or you did not use Export Settings...), you will need to specifically copy the Identity (or other private key files associated with public-key authentication) since they are not in the config folder location, but instead in the .ssh directory.

You can check your upgrade eligibility at this URL.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #3  
Old 03-09-2015, 03:30 PM
nick2016 nick2016 is offline
Registered User
 
Join Date: Mar 2015
Posts: 4
Yes, it looks like the key is failing.

We are using version 6.5.4 on both servers (We moved from Windows 2003 to Windows 2008), so it looks like the private key maybe missing, where is the .ssh directory ? Is that on the destination linux servers ?

Thanks
Reply With Quote
  #4  
Old 03-09-2015, 03:53 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hi nick2016,

Yes, .ssh is a default directory on Unix/Linux operating systems, so I am a little confused as to why you provided the (Open)SSH client debug lines.

The default location when *creating* a public/private key pair on SecureCRT/Windows varies according to OS.

You will need to look at the public-key properties of the session(s) in question to determine location of the files (see attached).

(Or Global Options / SSH2 category if defined globally.)
Attached Images
File Type: png nick2016_forum11901.png (34.2 KB, 1916 views)
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #5  
Old 03-10-2015, 02:53 AM
nick2016 nick2016 is offline
Registered User
 
Join Date: Mar 2015
Posts: 4
Thanks, I'm not that familiar with the software, an end user supplied the file, but I see now how this hooks together.

I basically need to make sure they have the identity private and public key in their windows folder and also the correspsnding private key on the linux server.
Reply With Quote
  #6  
Old 03-10-2015, 07:19 AM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,636
Hello nick2016,

No, the *public-key file* is what is needed to configure the user's account on the remote server.

The private key file is just what the name implies. It is the private data and should be safeguarded accordingly. The *client* (ie: person/SFTP application) would retain the private key file.
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
  #7  
Old 03-11-2015, 04:29 AM
nick2016 nick2016 is offline
Registered User
 
Join Date: Mar 2015
Posts: 4
Oops, just noticed I got the private and public mixed up. Thanks for your help, re-generating new keys did the trick.
Reply With Quote
Reply

Tags
move , securefx

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 01:02 PM.