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

SSH: Cannot SSH when config includes a RemoteCommand #419

Closed
dbowling opened this issue Nov 16, 2021 · 1 comment
Closed

SSH: Cannot SSH when config includes a RemoteCommand #419

dbowling opened this issue Nov 16, 2021 · 1 comment
Labels
Feature requests Feature Requests

Comments

@dbowling
Copy link

dbowling commented Nov 16, 2021

Describe the bug

When using RemoteCommand in my SSH config (using MacOS) I get the following error: Cannot execute command-line and remote command.

Hosts that do not use the RemoteCommand setting perform SSH correctly.

To Reproduce

Steps to reproduce:

  1. Edit .ssh/config and add a host with a RemoteCommand, such as RemoteCommand tmux new -A -s anynameyoulike
  2. run the SSH command ssh hostname

Expected behaviour

SSH to connect to the server and run the command.

Screenshots

No response

Operating System

MacOS

OS Version

12.0.1

Additional context

Hosts with `ProxyCommand ssh -W %h:%p proxyhostname.tld` are not impacted.
@dbowling dbowling added the bug label Nov 16, 2021
@elviskahoro elviskahoro changed the title Cannot SSH when config includes a RemoteCommand SSH: Cannot SSH when config includes a RemoteCommand Nov 17, 2021
@elviskahoro elviskahoro added the SSH label Dec 7, 2021
@elviskahoro elviskahoro removed the Bug label Jan 8, 2022
@elviskahoro
Copy link
Contributor

@dbowling
Subscribe to (this is where we'll share SSH updates):

I've moved this issue to our dedicated SSH discussion:

  • SSH Support V1 #502
    This helps us keep things organized and makes it easy to see and discuss all our SSH Bugs.

@warpdotdev-devx warpdotdev-devx bot added the Feature requests Feature Requests label Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature requests Feature Requests
Projects
None yet
Development

No branches or pull requests

2 participants