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

Kitten ssh crash #572

Open
sahilkmishra opened this issue Aug 13, 2024 · 2 comments
Open

Kitten ssh crash #572

sahilkmishra opened this issue Aug 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@sahilkmishra
Copy link

Describe the bug
when running
kitten ssh you@your-ssh-server sudo -S lazydocker
I get the error:
*fs.PathError open /dev/tty: no such device or address github.com/jesseduffield/lazydocker/main.go:96 (0x928f69) runtime/internal/atomic/types.go:194 (0x4402fd) runtime/asm_amd64.s:1695 (0x4733e1)
To Reproduce
run
kitten ssh you@your-ssh-server sudo -S lazydocker

Expected behaviour
Lazydocker opens on my remote ssh.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Linux
  • Lazydocker Version
    Version: 0.23.3
    Date:
    BuildSource: unknown
    Commit:
    OS: linux
    Arch: amd64
@sahilkmishra sahilkmishra added the bug Something isn't working label Aug 13, 2024
@mark2185
Copy link
Contributor

Does that happen without sudo as well?

@sahilkmishra
Copy link
Author

sahilkmishra commented Aug 15, 2024

Does that happen without sudo as well?

I get this fun error when i try to run this. Apologies about formatting

  unalias command; 
        printf "/stderr ]; thenm -rf "$tdir"ho" 2> /dev/null < /dev/tty
                033[31m%s
                         033[m
                              n
        printf "ev/fd/2 ]; thenr" "$*" > /dev/stderr;
                033[31m%s
                         033[m
                              n
        printf "               r" "$*" > /dev/fd/2;
                033[31m%s
                         033[m
                              n
    base64_encode() { command base64 | command tr -d turn 1; fi 1; fi

                                                     n

    base64_encode() { command b64encode - | command sed  }
                                                        1d;$d
                                                              | command tr -d 

                                                                              n

    pybase64() { command "$python" -c "import sys, base64; getattr(sys.stdout, r; }
                                                                               buffer
                                                                                     , sys.stdout).write(base64.standard_b64$1(getattr(sys.stdin, 
                                                                                                                                                  buffer
    base64_encode() { command "$perl" -MMIME::Base64 -0777 -ne 
                                                               print encode_base64($_)
    base64_decode() { command "$perl" -MMIME::Base64 -ne                              ; }
                                                         print decode_base64($_)
dcs_to_kitty() { printf "e not present on remote host, ssh kitten cannot function."
                         033P@kitty-$1|%s
                                         033
unset KITTY_SHELL_INTEGRATION; exec "$login_shell" -c ot" ""ad SSH data from tty" /dev/nulle in the futurequires tar."dbd91dc20763798400358""
                                                      lazydocker
: line 93: /dev/tty: No such device or address
environment: line 75: /dev/tty: No such device or address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants