Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 18
    Add RequestTTY force if the remote command requires a TTY. For example: tmux new -As my-session Commented Apr 13, 2018 at 17:20
  • 1
    This is the killer ssh option Thanks! Commented Feb 6, 2019 at 3:49
  • 7
    This makes it impossible to run other commands, for example ssh my_hostname ls will fail with Cannot execute command-line and remote command.. It makes other tools that use ssh like git and rsync also fail. Commented Jul 25, 2019 at 22:40
  • 2
    FYI && doesn't work in Ubuntu 18.04 Commented May 8, 2020 at 19:48
  • 3
    you may want to use bash -l instead, so initialization files are read (such as .bash_profile) Commented Dec 5, 2020 at 22:47