azure-cli-extensions
azure-cli-extensions copied to clipboard
Shorten ssh connect timeout
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:
- [ ] My extension description/summary conforms to the Extension Summary Guidelines.
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
.
vm ssh