-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
Description
Describe the bug
I was trying to run ssh user@myserver "cd /boot && ls -l" , but would get the following error: bash: line 64: exec: cd: not found.
To Reproduce
Steps to reproduce the behavior:
- ssh user@myserver "cd /boot && ls -l" (user@myserver being a remote linux server)
- resulting error:
bash: line 64: exec: cd: not found
Environment details
MacOS 11.3.1 Big Sur
Darwin Phils-MacBook-Pro-2.local 20.4.0 Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:47 PDT 2021; root:xnu-7195.101.2~1/RELEASE_X86_64 x86_64
ProductName: macOS ProductVersion: 11.3.1 BuildVersion: 20E241
Loaded config files: /Users/philippenadon/.config/kitty/kitty.conf
Config options different from defaults:
allow_remote_control y
enable_audio_bell False
font_family Fira Code
font_size 13.0
Additional context
Try to reproduce the problem with
kitty --config NONE
- Still produces the same problem.
I also already had this set in my ~/.zshrc, which I believe was supposed to help with using ssh:
if [[ "$TERM" = "xterm-kitty" ]]; then
alias ssh="kitty +kitten ssh"
fi
Alas, I encountered the issue regardless of if this was set...
I tried searching for existing issues that mentioned this issue, but could not find any. Please let me know if I overlooked something.
Reactions are currently unavailable