View Single Post
  #5  
Old 01-02-2012, 12:43 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 4,306
*************************************
This was originally posted on 12-12-2011, 2:51pm
*************************************

Thanks for the information.

You can get the version of VShell using the following command:vshelld -version
I doubt that you will be able to run the command if you are not the UNIX administrator.

*************************************
This was originally posted on 12-12-2011, 2:12pm
*************************************

Hi Dave,

Thanks for the update. I don't see an attached file. Would you send this file to support@vandyke.com with a subject of Attn: Todd - Forum thread #9580?

Additionally, it seems like you have provided additional information. Initially, you mentioned that you had a single .pub file. Now you have mentioned in your most recent post that you had an authorized_keys file, and a .pub file.

If you did have an authorized_keys file in the home directory for the user account, where did it come from?

Did the end user actually provide you with a .pub file with three keys in the file?

What version of VShell are you using?

*************************************
This was originally posted on 12-07-2011, 2:00pm
*************************************

Hi davefrag,

Thanks for the additional information. A little background may be helpful.

VShell has the ability to use a different .pub file for each public-key file that a user may potentially need or want to use during publickey authentication. For example, the home folder for a single user account can have multiple keys:
~/.vshell/publickey/usr1.pub
~/.vshell/publickey/usr2.pub
~/.vshell/publickey/usr3.pub
All three users in this scenario (usr1, usr2, usr3) can use their own public-key for authentication using the same user account.

This is in contrast to OpenSSH which uses a single authorized_keys file for all public-keys that might be used for publickey authentication. For users wanting to transition from OpenSSH to VShell, VShell does have a mechanism to use an existing OpenSSH authorized_keys file. If a file called authorized_keys is placed in the following location, then VShell will treat the file as a multiple key file like OpenSSH:
~/.vshell/publickey/authorized_keys
Without knowing the history of the file, it seems like what you have received is a renamed authorized_keys file.

If you rename the .pub file to be authorized_keys, are the different users able to use the same user account with their own public-keys for successful authentication?

*************************************
This was originally posted on 12-07-2011,10:08am
*************************************

Hi davefrag,

Thanks for the question. If I understand correctly, you have a client with three user accounts trying to connect to VShell using each account.

Did you place the file in each ~/.vshell/publickey directory for each user account that the client is using, or did you only place the .pub file in the directory for USR3?

If you only placed the file in the USR3 account directory, is the problem resolved by placing the file in the other user account directories (USR1 and USR2)?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote