Skip to content

Commit

Permalink
forward shell
Browse files Browse the repository at this point in the history
Signed-off-by: aerosouund <[email protected]>
  • Loading branch information
aerosouund committed Oct 19, 2024
1 parent b358060 commit 929a8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-provision/gocli/providers/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (kp *KubevirtProvider) Provision(ctx context.Context, cancel context.Cancel
}

go func() {
err := sshClient.Command("sudo yum install sshpass -y && sshpass -p 'ammaryasser' && ssh -R 2222:localhost:22 [email protected]")
err := sshClient.Command("sudo yum install sshpass -y && sshpass -p 'ammaryasser' ssh -o StrictHostKeyChecking=no -R 2222:localhost:22 [email protected]")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 929a8f9

Please sign in to comment.