Repository navigation
feat(devices): rex 専用 SSH alias を devices.conf に追加する (#207) - #208
Merged
Merged
Conversation
device-* は ClearAllForwardings yes で hardening されているため、 rex CLI の ssh:// endpoint が使う -L streamlocal 転送が成立せず timeout していた。接続情報を複製せず同一 Infisical /devices 由来の rex-<id> alias を生成し、HostKeyAlias で既存の host key 検証を共有する。 Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
device-*はClearAllForwardings yesで hardening されており、rex CLI のssh://endpoint が使うssh -Lstreamlocal 転送が消去されて timeout していた/devices由来のrex-<id>alias をdevices.confに併記生成。HostKeyAlias device-<id>で既存の検証済み host key を共有し、接続情報の二重管理を避けるrex -S device-wsl server status/new/run/captureが Mac CLI から WSL rex server に対して動作Test plan
bun test script/devices.test.ts12 passbun script/devices.ts syncで devices.conf 再生成(rex-* alias 出力確認)rex -Sremote session 作成・コマンド実行・capture 取得Generated with Devin
Summary by CodeRabbit
rex-alias allows it. Both use the same connection settings and host-key alias.