-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Cannot use RemoteCommand in ~/.ssh/config, error: Cannot execute command-line and remote command. #4466
Copy link
Copy link
Open
Labels
SSHLegacy SSH Related IssuesLegacy SSH Related Issuesarea:sshSSH and remote-session behavior, including tmux-related terminal flows.SSH and remote-session behavior, including tmux-related terminal flows.bugSomething isn't working.Something isn't working.needs-infoMore issue-specific reporter detail is needed before the problem can be confidently triaged.More issue-specific reporter detail is needed before the problem can be confidently triaged.ready-to-implementThe issue is ready for implementation work.The issue is ready for implementation work.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Metadata
Metadata
Assignees
Labels
SSHLegacy SSH Related IssuesLegacy SSH Related Issuesarea:sshSSH and remote-session behavior, including tmux-related terminal flows.SSH and remote-session behavior, including tmux-related terminal flows.bugSomething isn't working.Something isn't working.needs-infoMore issue-specific reporter detail is needed before the problem can be confidently triaged.More issue-specific reporter detail is needed before the problem can be confidently triaged.ready-to-implementThe issue is ready for implementation work.The issue is ready for implementation work.triagedIssue has received an initial automated triage pass.Issue has received an initial automated triage pass.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I use
RemoteCommandin my SSH config to become another user immediately after login with my user.e.g.
RemoteCommand sudo su - <target-user>And I have different users for different hosts.
With Warp, I get the error
Cannot execute command-line and remote command.. So it seems like Warp may be using it's ownRemoteCommandin the wrapper. This works fine if I turn the wrapper off. If this is the case, maybe there is a way to combine the two?Discord username (optional)
No response
Operating System
MacOS
Operating System and Version
14.1.2 (23B92)
Local Shell Version
Fish 3.6.1
Remote Shell Version
N/A
Warp Version
v0.2024.02.27.08.01.stable_03
I have tried commenting out my system & user rcfiles and warp still will not bootstrap
Screenshots
No response
Include shell xtrace output
No output in Fish with
set WARP_DEBUG_MODE 1Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)
Yes, this I confirmed this only happens in Warp, not other terminals.
Warp Internal (ignore) - linear-label:e7dfaa84-5fdb-4a00-b754-d8912da923fa
None
Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e
None