Skip to content

Commit

Permalink
Commit to allow password auth for VMSS jit access (#2027)
Browse files Browse the repository at this point in the history
* Commit to allow password auth for VMSS jit access
  • Loading branch information
jhoreman authored Apr 19, 2022
1 parent a53082a commit 58603b4
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": true,
"disablePasswordAuthentication": false,
"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": true,
"disablePasswordAuthentication": false,
"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(true),
DisablePasswordAuthentication: to.BoolPtr(false),
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(true),
DisablePasswordAuthentication: to.BoolPtr(false),
SSH: &mgmtcompute.SSHConfiguration{
PublicKeys: &[]mgmtcompute.SSHPublicKey{
{
Expand Down

0 comments on commit 58603b4

Please sign in to comment.