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

ControlMaster breaks commands #426

Closed
denzuko opened this issue Nov 11, 2023 · 1 comment
Closed

ControlMaster breaks commands #426

denzuko opened this issue Nov 11, 2023 · 1 comment

Comments

@denzuko
Copy link

denzuko commented Nov 11, 2023

Describe the bug
When using ControlMaster in $HOME/.ssh/config, soft serve only displays the menu and does not log anything from the client connection. Menu navigation does work but cannot execute info, repo create .., or like commands.

To Reproduce
Steps to reproduce the behavior:

  1. setup a fresh soft serve server with go install ...
  2. add the following to one's ~/.ssh/config:
Host softserve
        User admin
        Hostname localhost   # issue encountered both with & without this and the above. Adding for ease of testing (Host ... is arbitrary too)
       Port 23231
       ControlMaster     auto
       ControlPath       ~/.ssh/control-%C
       ControlPersist    yes
  1. ssh softserve info

Expected behavior
Not to see menu view and that documented behavior works as intended

Environment (please complete the following information):

  • OS: Alpine Linux 3.18.2
  • OpenSSH_9.3p2, OpenSSL 3.1.2 1 Aug 2023
  • Version v0.7.1
@aymanbagabas
Copy link
Member

Hi @denzuko, Soft Serve doesn't support SSH ControlMaster. Soft Serve uses Golang SSH server which doesn't support ControlMaster, there is this open issue regarding adding support to ControlMaster in Golang crypto/ssh golang/go#32958

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

No branches or pull requests

2 participants