Skip to content

Commit

Permalink
Revert 2027: Commit to allow password auth for VMSS jit access
Browse files Browse the repository at this point in the history
  • Loading branch information
bennerv authored and ellis-johnson committed Jun 3, 2022
1 parent 784aee4 commit 1cbe5ae
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion deploy/gateway-production.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
"computerNamePrefix": "[concat('gateway-', parameters('vmssName'), '-')]",
"adminUsername": "cloud-user",
"linuxConfiguration": {
"disablePasswordAuthentication": false,
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
Expand Down
2 changes: 1 addition & 1 deletion deploy/rp-production.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
"computerNamePrefix": "[concat('rp-', parameters('vmssName'), '-')]",
"adminUsername": "cloud-user",
"linuxConfiguration": {
"disablePasswordAuthentication": false,
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
Expand Down
4 changes: 2 additions & 2 deletions pkg/deploy/bindata.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/deploy/generator/resources_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ done
ComputerNamePrefix: to.StringPtr("[concat('gateway-', parameters('vmssName'), '-')]"),
AdminUsername: to.StringPtr("cloud-user"),
LinuxConfiguration: &mgmtcompute.LinuxConfiguration{
DisablePasswordAuthentication: to.BoolPtr(false),
DisablePasswordAuthentication: to.BoolPtr(true),
SSH: &mgmtcompute.SSHConfiguration{
PublicKeys: &[]mgmtcompute.SSHPublicKey{
{
Expand Down
2 changes: 1 addition & 1 deletion pkg/deploy/generator/resources_rp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@ restorecon -RF /var/log/*
ComputerNamePrefix: to.StringPtr("[concat('rp-', parameters('vmssName'), '-')]"),
AdminUsername: to.StringPtr("cloud-user"),
LinuxConfiguration: &mgmtcompute.LinuxConfiguration{
DisablePasswordAuthentication: to.BoolPtr(false),
DisablePasswordAuthentication: to.BoolPtr(true),
SSH: &mgmtcompute.SSHConfiguration{
PublicKeys: &[]mgmtcompute.SSHPublicKey{
{
Expand Down

0 comments on commit 1cbe5ae

Please sign in to comment.