Opened 12 years ago

Closed 11 years ago

#109 closed (fixed)

SSH Keys: Only one ssh key is installed

Reported by: nriga@bbn.com Owned by: somebody
Priority: major Milestone:
Component: AM Version: SPIRAL4
Keywords: Cc:
Dependencies:

Description

If in createsliver a user specifies multiple public ssh keys to be installed, only one key is installed in the nodes.

Change History (6)

comment:1 Changed 11 years ago by vjo@duke.edu

Should this ticket be closed, and the issue merged with ticket 110?

comment:2 Changed 11 years ago by ahelsing@bbn.com

These are in fact slightly different things.

There are 2 ways in which ExoGENI limits us to 1, and the spec allows for multiple:

  • ticket #109: # of keys per user
  • ticket #110: # of users

comment:3 Changed 11 years ago by vjo@duke.edu

Fair enough; thanks for the clarification. ;)

comment:4 Changed 11 years ago by lnevers@bbn.com

Tested a scenario with multiple user keys and the problem still exists, only one set is found in authorized_keys on the nodes.

comment:5 Changed 11 years ago by lnevers@bbn.com

Using version "ORCA Dungeness: v.4.0-SNAPSHOT.build-5468" on the NICTA rack was able to verify the ability to support multiple SSH keys for one user.

Test run had user account lnevers with 3 sets of ssh-keys. Verified access to allocated nodes with all 3 ssh keys. Verified all keys showed up on each of the 4 hosts that were part of the sliver.

comment:6 Changed 11 years ago by lnevers@bbn.com

Resolution: fixed
Status: newclosed

Multiple keys for one user account are uploaded and this was verified using version 'ORCA Dungeness: v.4.0-SNAPSHOT.build-5495' on the GPO rack. Test created a sliver which had 3 sets of keys associated with the user lnevers.

$ readyToLogin.py -a eg-gpo lnexo
<...>
User root logs in to geni1 using:
	ssh -i /home/lnevers/.ssh/id_rsa root@192.1.242.14

Logged in to the node to verify keys are present:

$ ssh -i /home/lnevers/.ssh/id_rsa root@192.1.242.14

root@debian:~# cat .ssh/authorized_keys 

# The following ssh key was injected by Nova
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAl460XUo0O8XB5+E5xGQ7jyRzXphn+nsBH8fYUf+nYZVhHWSX4i8tcpImhgQoZv0EodNw3gROSo9fZ2Ws/kULxk4F1CJAs4DWwbe70hH6/TZusGP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1dFB+smfTF/nZ3hQOrKBHWGm7t+nbqH5iiWDjK7N7HqSP/VYRgL4U8Z62NUMuzJ09rSPGWCGPSE2YeU9GnQwtl3zlOC+ScKWrfVePiR92+3rgSqPo/97fdY4ZYX/JrwGXV/nZbor4niKq8xBPiXpbrbX+pTkjXsYmjCuITMPLXv48w== lnevers@sendaria.gpolab.bbn.com

root@debian:~# 

Ticket request is addressed, closing ticket.

Note: See TracTickets for help on using tickets.