-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Multiple SSH Keys support #5965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
cf2e27a
keypairs added in api-constants
bicrxm ac655fe
names parameter added
bicrxm 2c7404f
findbynames method added in dao
bicrxm 4cdd371
change in impl to find and reset multiple keys
bicrxm 274ab95
findbynames method implemented
bicrxm 17c40a5
Merge branch 'main' of https://github.com/apache/cloudstack
bicrxm 4d8f56e
log the publickeys, check the ssh keys given exists or not
bicrxm 65029d9
new ArrayList<>
bicrxm 0f7a274
Merge branch 'main' of https://github.com/apache/cloudstack
bicrxm 00e2634
SQL IN toArray
bicrxm 33b8bd8
keypair
bicrxm 055e8b3
null pointer exception solved with + concatanation
bicrxm fb0dce9
null pointer exception solved with + concatanation
bicrxm 3b13ab7
error resolved
bicrxm f271ab5
keypair name to names in uservmresponse
bicrxm 2621b67
keypair name is set in the uservmresponse, from the details
bicrxm 55fb578
Merge branch 'apache:main' into main
bicrxm 0f2ffdb
null checks are removed, keypairnames are stored in a string, sent to…
bicrxm 13b78f2
Merge branch 'main' of https://github.com/apache/cloudstack
bicrxm 2f15af7
Merge https://github.com/bicrxm/cloudstack
bicrxm 689f824
commit first eval
bicrxm 264a4f1
Merge branch 'apache:main' into main
bicrxm 48be6cf
deploy vm takes multiple ssh-keys
bicrxm 10d3d76
Merge branch 'main' of https://github.com/bicrxm/cloudstack into main
bicrxm 31065ba
Merge branch 'apache:main' into main
bicrxm 748b624
Deploy VM UI changed to accept multiple ssh keys
bicrxm 4be4c93
Merge branch 'main' of https://github.com/bicrxm/cloudstack into main
bicrxm 623cafd
Merge branch 'apache:main' into main
bicrxm 24bdc35
Reset SSH UI API changed
bicrxm 7357d7a
ResetSSH.vue
bicrxm a655d81
ssh keys joined, ssh added in infocard
bicrxm 1da700c
changes made
bicrxm 32da941
schema error resolved
bicrxm 3841ca3
potential null pointer exception removed
bicrxm 0310e2e
Update UserVmManagerImpl.java
bicrxm c9fd95c
Update DeployVMCmd.java
bicrxm b632f22
Update DeployVMCmd.java
bicrxm 45c6b99
Update ResetVMSSHKeyCmd.java
bicrxm 792704c
Update UserVmJoinDaoImpl.java
bicrxm 12c22a2
.
bicrxm 127c2fb
arraylist
bicrxm 9d93efd
Update DeployVMCmd.java
bicrxm 83d4e9a
Update UserVmManagerImpl.java
bicrxm 0b48e23
Update ResetVMSSHKeyCmd.java
bicrxm 2fd16dd
Merge branch 'main' of github.com:apache/cloudstack into mul-ssh-keys
davidjumani 111b1ad
Update db
davidjumani 5703b8f
Fix list vm by keypair
davidjumani ca2a764
ui fixes
davidjumani 2961f9e
Fix typos
davidjumani 1ebcc69
ui fixes
davidjumani d898ca2
Cleanup
davidjumani 0718a3e
Adding deprecated and since in api params
davidjumani e12c14a
Merge branch 'main' of github.com:apache/cloudstack into mul-ssh-keys
davidjumani bf4f491
Merge branch 'main' of github.com:apache/cloudstack into mul-ssh-keys
davidjumani b85b4e7
Adding upgrade for existing vms with ssh keys
davidjumani 4ad1c66
Merge branch 'main' of github.com:apache/cloudstack into mul-ssh-keys
davidjumani 669dea4
Handle no key for cks
davidjumani 47b4796
Show existing keyparis in reset ssh key form
davidjumani 754f3f0
get keys from the right account
davidjumani b8a6174
Merge branch 'main' of github.com:apache/cloudstack into mul-ssh-keys
davidjumani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidjumani
is it possible that ssh keypairs are under different account but have same public key ?
for example, a user register a public key under ROOT/admin, then register same public key in his owner account ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is possible but an edge case since users would not register the same key twice. I don' think we need to consider this scenario
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidjumani
I think it would be better to consider all possible scenarios.
my sugguestion is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@davidjumani @nvazquez
what's your opinion on this comment ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@weizhouapache Makes sense. I'll make the changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this addressed? This is NOT an edge case, I have customers using this setup extensively.
There is also a unique key constraint in the table, so pls make sure this is not a problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it's been addressed