Skip to content

exec request failed on channel 1 #1334

@itanxiao

Description

@itanxiao

Discord username (optional)

No response

Describe the bug

warp version: v0.2022.05.09.09.06.stable_01

To Reproduce

ssh xx@xx -v 

ssh debug log

debug1: Sending command:
                         hook=$(printf "{\\"hook\\": \\"SSH\\", \\"value\\": {\\"socket_path\\": \\"~/.ssh/165232182523220\\", \\"user\\": \\"%s\\", \\"machine\\": \\"%s\\", \\"remote_shell\\": \\"%s\\"}}" $(whoami) $(hostname) ${SHELL##*/} | command xxd -p | command tr -d "\\n")
    printf '\033P$d%s\234' $hook
                                if test "${SHELL##*/}" != "bash" -a "${SHELL##*/}" != "zsh"; then
                                                                                                   exec $SHELL
                                                                                                              fi

                                                                                                                case ${SHELL##*/} in
                                                                                                                                      bash) exec -a bash bash --rcfile <(echo 'set -o vi; set +o vi; HISTCONTROL=ignorespace; printf '\\''\033P$d7b22686f6f6b223a2022496e69745368656c6c222c202276616c7565223a207b227368656c6c223a202262617368227d7d\234'\\''')
                                                                                 ;;
                                                                                     zsh) WARP_TMP_DIR=$(mktemp -d warptmp.XXXXXX)
                                                                                                                                  if [[ $? == 0 ]]; then
              echo '756e7365746f7074205a4c453b20756e736574205243533b20756e736574
                                                                                20474c4f42414c5f5243533b207072696e746620275c7831625c7835305c
  7832345c7836343762323236383666366636623232336132303232343936
                                                              653639373435333638363536633663323232633230323237363631366
exec request failed on channel 1

Expected behaviour

No response

Screenshots

image

Operating System

MacOS

OS Version

12.3.1

Additional context

No response

Warp Internal (ignore): linear-label:24888f54-df93-45d5-9bdd-e38f740cac19

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions