azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

Shorten ssh connect timeout

Open rayluo opened this issue 2 years ago • 1 comments

This would be useful when the target VM's port 22 is somehow unreachable.

I have tested the time ssh -o ConnectTimeout=10 example.com to see that option working. But I have not yet tested this in a real "az ssh vm ..." context.


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • [ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • [ ] Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

rayluo avatar Jun 08 '22 22:06 rayluo

vm ssh

yonzhan avatar Jun 08 '22 23:06 yonzhan