SSH Support V1 #502
Replies: 49 comments 76 replies
-
I'm unsure if this is the same as the issue I'm having. When I SSH into a server, the If it's not the same issue I will create another issue for that. |
Beta Was this translation helpful? Give feedback.
-
@fishcharlie I believe it is the same issue, since Warp's wrapped |
Beta Was this translation helpful? Give feedback.
-
From #215 ssh into debian box |
Beta Was this translation helpful? Give feedback.
-
Any reason this was moved to a discussion as opposed to an issue? I feel like it being an issue would lead to more visibility, and be considered an "action item". Warp really needs to add support for this. This is a major reason why I don't use Warp as much as Terminal currently. This should be at the top of the priority list for the Warp team. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Clear does not work on Debian 10 Describe the bug`clear` does clear the terminal on Debian 10 boxes To ReproduceSteps to reproduce:
Expected behaviourExpected to have terminal cleared Screenshots |
Beta Was this translation helpful? Give feedback.
-
Tab completion makes Warp unresponsive Describe the bugTab completion in an SSH terminal appears to visibly make Warp unresponsive for more than a few seconds. Switching to the default terminal does not appear to have this issue, and is able to normally execute tab completion on the same machine. To ReproduceSteps to reproduce:
Expected behaviour1. `ssh` into a machine of your choice.
2. Type `cd ~/<TAB>`
3. Warp becomes unresponsive for a few seconds, but then behaves as it should with completion recommendations. ScreenshotsNo response Operating SystemMacOS OS Version11.5 Additional contextNo response |
Beta Was this translation helpful? Give feedback.
-
Tab locks / freezes when disconnecting from VPN Describe the bugInitial conditions: When I am on VPN & ssh onto a host I can only access through VPN
Trigger: I disconnect from VPN
Result: The terminal tab completely locks up (ideally, it would let me ctrl+c or something, although iterm is similar. iterm does unlock faster, though) To ReproduceSteps to reproduce:
Expected behaviourEventual result: https://app.warp.dev/block/flNRXVAPVBczQsOFEuqKIL
Expect it much faster :) Screenshotshttps://capture.dropbox.com/cf11hrIqzaKQV4qj Operating SystemMacOS OS Version11.6 Additional contextNo response |
Beta Was this translation helpful? Give feedback.
-
SSH does not support other shells From @NikosEfthias Describe the bugconnecting to remote ssh fails with message
<W> fish: An error occurred while redirecting file 'unset PS1; unset PS2; set -o vi; set +o vi; HISTCONTROL=ignorespace; printf '\u1b\u50\u24\u64{"hook": "InitShell", "value": {"shell": "bash"}}\u9c''
open: No such file or directory
ScreenshotsOperating SystemMacOS OS Version11.6 big sur Additional contextNo response |
Beta Was this translation helpful? Give feedback.
-
Warp locks / freezes when SSH loses network (even local sessions) Describe the bugI was ssh'ing into a remote machine. Just as it was 'Starting Bash...', I lost network. All my sessions locked up, including the ones connected to the local machine. I had to force quit the app. To ReproduceSteps to reproduce:
Expected behaviourIf network goes away while establishing a remote connection, it should simply error out and return back to the local session ScreenshotsNo response Operating SystemMacOS OS Version12.0.1 Additional contextNo response |
Beta Was this translation helpful? Give feedback.
-
Locale error on SSH Describe the bugWhen I ssh into a remote host, and there are some bash error, the error message gets into the command editor area.
ssh examplehost
bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
cursus: error: unexpected __iterm2_prompt_command, try --help
bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory
cursus: error: unexpected __iterm2_prompt_command, try --help To ReproduceSteps to reproduce:
Expected behaviourThe error displays as result block and command prompt area is empty ScreenshotsOperating SystemMacOS OS Version12.0.1 Additional contextNo response |
Beta Was this translation helpful? Give feedback.
-
SSHing into the same machine more than once fails Describe the bugIf you log in to the same machine more than once, you will notice this following message: ControlSocket /Users/<your-username>/.ssh/bad89d3452f63f92c2a9a56e8d78b02dfebacf1e already exists, disabling multiplexing To ReproduceSteps to reproduce:
Expected behaviourMultiplexing should be enabled Operating SystemMacOS 12.0.1 Additional contextThis error is listed on the Known Issues page of Warp's documentation but it has no corresponding issue or timeline. The document was updated 2-months ago but it says it will be fixed "soon". Most of my work in the terminal is on remote machines and this renders Warp nearly useless for me. |
Beta Was this translation helpful? Give feedback.
-
Shell integration breaks bash scripts From @cam-narzt via #397 Describe the bugWarp is somehow breaking the following code in my bash setup files: https://github.com/CamJN/dot-files/blob/master/.bash.d/completion#L15-L32
It results in this error in Warp.app, but not in Terminal.app: `bash: old_filedir: command not found` To ReproducePull down my dotfiles and install the deps, then start bash in Warp. Expected behaviourI expect my shell to execute without interference from my terminal emulator. ScreenshotsNo response Operating SystemMacOS OS Version11.6.1 Additional contextNo response |
Beta Was this translation helpful? Give feedback.
-
avoiding setlocale warning on remote hosts Describe the solution you'd like?Preferences should allow me to disable environment variable transmission to the remote host when connecting with ssh.
A better solution could be to "translate" macos local names to the remote host locale names. Is your feature request related to a problem? Please describe.Each time I connect to a linux host from my Mac, I get a warning :
`setlocale : LC_CTYPE : impossible de changer le paramètre de langue (UTF-8) : Aucun fichier ou dossier de ce type`
This happens using ssh or /usr/bin/ssh
This is a well known "feature" of ssh who sends the environment variable LANG and LC_* from macos to linux and sets LC_CTYPE to UTF-8 which is unknown on linux.
Usual workaround in Terminal.app and iTerm2 includes disabling the environment variable transmission in preferences and setting the locale in the remote .bashrc or rely on the default configuration. Additional contextAn example of workaround site : https://en.stealthsettings.com/fix-macos-terminal-error-warning-setlocale-lc_ctype-change-locale-utf-8-file-directory.html Most solutions are somehow based on disabling SendEnv on ssh_config level (requires root superpowers) or setting the prefs in Terminal.app or iTerm2 |
Beta Was this translation helpful? Give feedback.
-
🤔 is there any way to jump out of zsh if zsh is the default terminal on the remote machine? All of my commands seem to be wrapped: 00~echo hello world01~ |
Beta Was this translation helpful? Give feedback.
-
After connecting over SSH i need to run `bash` to get the actual terminal prompt. |
Beta Was this translation helpful? Give feedback.
-
With today's update we've added some more SSH fixes. S/O to @zheng and @vorporeal If you are still encountering SSH issues after today's update please open a new issue or even comment here and I'll triage! Here are the list of fixes from the past 3 weeks!
|
Beta Was this translation helpful? Give feedback.
-
HI, is there a way to use Warp Terminal over SSH with grml-zsh-config? However, after switching to Warp, grml-zsh-config no longer works, and its PS1/completion/etc.. is replaced with those from Warp. Additionally, upon each SSH login a folder called My questions:
|
Beta Was this translation helpful? Give feedback.
-
Hello! I'm using zsh locally and when I ssh into my remote servers (which all use bash) I autostart a tmux session but I'm unable to type. This is my .bashrc file on the remote server where I auto start a tmux session or reconnect to one if one already exists. And I know that this screenshot probably isn't very helpful but after I ssh into the server everything looks fine but I can't type. |
Beta Was this translation helpful? Give feedback.
-
Tab completion in a SSH terminal only available in current path, not support auto complete in sub path. |
Beta Was this translation helpful? Give feedback.
-
We are a GCP shop, a lot of our ssh is done using the SDK due to IAP and os-login, rather than a direct SSH. Currently warp functionality does not appear to work with this type of SSH connection (which I imagine is intended functionality). Do you have plans to allow for SSH this way for GCP and other cloud provider tools? |
Beta Was this translation helpful? Give feedback.
-
I get a hang from ssh rails-prod1, where rails-prod1 is an ssh config entry that uses a ProxyJump that is also defined in the same file. This is with bash as my local shell on macOS Monterey 12.2.1. |
Beta Was this translation helpful? Give feedback.
-
Hello there!
|
Beta Was this translation helpful? Give feedback.
-
Hi all, just a quick question. Is this related to why when I ssh with Warp I cannot use |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, I’m having a strange issue when connecting to a VPS over SSH. Regular commands work as normal ( I’m not sure if this all stems from the lack of permissions to create This is the end of the |
Beta Was this translation helpful? Give feedback.
-
It does not work with fish shell. |
Beta Was this translation helpful? Give feedback.
-
just move this issue #1171 to here. Discord username (optional)No response Local Shell and Version5.8 Remote Shell and Version4.2.46(2)-release Operating System and Versionmacos Monterey v12.3.1 and CentOS Linux 7 (Core) I have tried commenting out my system & user rcfiles and warp still will not bootstrap
ScreenshotsThis is my ssh config.
If I delete the line
Include shell xtrace outputCannot execute command-line and remote command. |
Beta Was this translation helpful? Give feedback.
-
Right now we only support bash over ssh, but we could also support other shells like zsh.
Posting so people can upvote.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions