Skip to content

Commit

Permalink
Add tickets to TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
p0-andrewa committed Nov 21, 2024
1 parent 108a904 commit fa0ec8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/commands/scp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ const scpAction = async (args: yargs.ArgumentsCamelCase<ScpCommandArgs>) => {
: [];
args.sshOptions = sshOptions;

// Azure SSH currently doesn't support specifying a port; throw an error if one is set. Azure Bastion only supports
// port 22 for SSH connections.
// TODO(ENG-3142): Azure SSH currently doesn't support specifying a port; throw an error if one is set.
if (
args.provider === "azure" &&
sshOptions.some((opt) => opt.startsWith("-P"))
Expand Down
3 changes: 1 addition & 2 deletions src/commands/ssh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ const sshAction = async (args: yargs.ArgumentsCamelCase<SshCommandArgs>) => {
: [];
args.sshOptions = sshOptions;

// Azure SSH currently doesn't support specifying a port; throw an error if one is set. Azure Bastion only supports
// port 22 for SSH connections.
// TODO(ENG-3142): Azure SSH currently doesn't support specifying a port; throw an error if one is set.
if (
args.provider === "azure" &&
sshOptions.some((opt) => opt.startsWith("-p"))
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/azure/ssh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ export const azureSshProvider: SshProvider<
reproCommands: () => undefined,

setup: async (request) => {
// TODO: Does this specifically need to be the subscription ID for the Bastion?
// TODO(ENG-3129): Does this specifically need to be the subscription ID for the Bastion?
await azLogin(request.subscriptionId); // Always re-login to Azure CLI

const { path: keyPath, cleanup: sshKeyPathCleanup } =
await createTempDirectoryForKeys();
await generateSshKeyAndAzureAdCert(keyPath);
Expand Down

0 comments on commit fa0ec8b

Please sign in to comment.