Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust SSH config with action-upterm #1030

Merged
merged 5 commits into from
Jan 7, 2025
Merged

Adjust SSH config with action-upterm #1030

merged 5 commits into from
Jan 7, 2025

Conversation

kachick
Copy link
Owner

@kachick kachick commented Jan 7, 2025

Resolves GH-941

@kachick
Copy link
Owner Author

kachick commented Jan 7, 2025

Run owenthereal/action-upterm@5501233b996152ba43e22e8c73c39640f9ae2b3c
  with:
    limit-access-to-users: kachick
    limit-access-to-actor: false
    upterm-server: ssh://uptermd.upterm.dev:[2](https://github.com/kachick/dotfiles/actions/runs/12644804898/job/35232959003?pr=1030#step:13:2)2
  env:
    DETERMINATE_NIX_KVM: 1
  
upterm
Error: EACCES: permission denied, open '/home/runner/.ssh/config'

https://github.com/owenthereal/action-upterm/blob/4f618b2f5a28013279fff3413093e31d83c9b074/src/index.ts#L43

> echo '# :)' >>  ~/.ssh/config
zsh: permission denied: /home/kachick/.ssh/config

> la ~/.ssh/config
0777 - 01-06 14:10 /home/kachick/.ssh/config -> /nix/store/c4mh0wnzzsrgy6gbgldim2r7b4am6b28-home-manager-files/.ssh/config

Ah... it is writing entry in home-manager linked config

@kachick
Copy link
Owner Author

kachick commented Jan 7, 2025

Next facing to owenthereal/upterm#283

controlMaster = "auto";
might be related

@kachick
Copy link
Owner Author

kachick commented Jan 7, 2025

@kachick kachick marked this pull request as ready for review January 7, 2025 04:29
@kachick
Copy link
Owner Author

kachick commented Jan 7, 2025

It looks useful such as tmate. I may use it in next fighting with GitHub Actions. It may help issues like GH-905

If then, 3dea898 is the adding code for that workflow.

@kachick
Copy link
Owner Author

kachick commented Jan 7, 2025

However no CLI is needed in this dotfiles global for now. I have plan to use it only for GitHub Action debugging.

@kachick kachick changed the title Experimentally add upterm action Adjust SSH config with action-upterm Jan 7, 2025
@kachick kachick merged commit e35ad26 into main Jan 7, 2025
15 checks passed
@kachick kachick deleted the upterm branch January 7, 2025 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How about introducing upterm and the action
1 participant