Skip to content

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
theFong committed Mar 29, 2024
1 parent 0378937 commit b132b31
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkg/ssh/sshconfigurer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ Host %s
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand All @@ -157,6 +159,8 @@ Host %s-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand All @@ -169,6 +173,8 @@ Host %s
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand All @@ -181,6 +187,8 @@ Host %s-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand Down Expand Up @@ -296,6 +304,8 @@ func Test_makeSSHConfigEntryV2(t *testing.T) { //nolint:funlen // test
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 20
Expand All @@ -308,6 +318,8 @@ Host testName2-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 2022
Expand Down Expand Up @@ -340,6 +352,8 @@ Host testName2-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand All @@ -352,6 +366,8 @@ Host testName2-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand Down Expand Up @@ -385,6 +401,8 @@ Host testName2-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 2022
Expand All @@ -397,6 +415,8 @@ Host testName2-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand Down Expand Up @@ -429,6 +449,8 @@ Host testName2-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
`,
Expand Down Expand Up @@ -460,6 +482,8 @@ Host testName2-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
`,
Expand Down Expand Up @@ -573,6 +597,8 @@ Host testName1
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand All @@ -585,6 +611,8 @@ Host testName1-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand Down Expand Up @@ -628,6 +656,8 @@ Host testName1
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand All @@ -640,6 +670,8 @@ Host testName1-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand All @@ -655,6 +687,8 @@ Host testName1
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand All @@ -667,6 +701,8 @@ Host testName1-host
IdentitiesOnly yes
StrictHostKeyChecking no
PasswordAuthentication no
AddKeysToAgent yes
ForwardAgent yes
RequestTTY yes
Port 22
Expand Down

0 comments on commit b132b31

Please sign in to comment.