Skip to content
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

Changing property 'linuxConfiguration.ssh.publicKeys' is not allowed #5442

Open
R-and-all opened this issue Dec 14, 2018 · 7 comments
Open

Comments

@R-and-all
Copy link

guacamole-rdp-vnc-gateway-existing-vnet https://github.com/Azure/azure-quickstart-templates/tree/master/guacamole-rdp-vnc-gateway-existing-vnet

Issue Details

Various errors in deployment. Worked through the username problem, however I can not get past the SSH key
Tried the one created in PuttyGen (publicKey for pasting into Open SSH authorized_keys file) and also the contents of the publickey saved via PuttyGen (file starts with ---- BEGIN SSH2 PUBLIC KEY ----
Comment: "rsa-key-guacamole". then the key data)

Activity Log Summary is:
Operation name
Create or Update Virtual Machine
Time stamp
Fri Dec 14 2018 16:35:33 GMT+0000 (Greenwich Mean Time)
Event initiated by
me @ myAzureEmailAddress
Error code
PropertyChangeNotAllowed
Message
Changing property 'linuxConfiguration.ssh.publicKeys' is not allowed.

@DevOpsAIguru123
Copy link

I am also getting same error

@GitHubAre
Copy link

me too

@mazhead
Copy link

mazhead commented Mar 6, 2020

me three

@MLoughry
Copy link

I'm running into the same issue when deploying a brand new VM using a template through the Azure REST API

@EpicApex
Copy link

Still getting this issue.

AAD role propagation done[############################################] 100.0000%Operation failed with status: 'Bad Request'. Details: Changing property 'linuxProfile.ssh.publicKeys.keyData' is not allowed.

@eduser25
Copy link

+1

@sb1975
Copy link

sb1975 commented Aug 6, 2021

This seems like a generic issue, I am facing too..
az aks create -n $AKSNAME -g $RGNAME --generate-ssh-keys -l eastus --service-principal *** --client-secret ***
ERROR: (PropertyChangeNotAllowed) Changing property 'linuxProfile.ssh.publicKeys.keyData' is not allowed.

So the need is to have a parameter in the command that allows to overwrite the publicKeys (when we run with --generate-ssh-keys)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants