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

Not working on OSX Sierra #213

Open
uhlhosting opened this issue Mar 24, 2017 · 10 comments
Open

Not working on OSX Sierra #213

uhlhosting opened this issue Mar 24, 2017 · 10 comments

Comments

@uhlhosting
Copy link

{
  "_comments": [
    "Valid terminals include: 'Terminal.app' or 'iTerm'",
    "In the editor value change 'default' to 'nano', 'vi', or another terminal based editor.",
    "Hosts will also be read from your ~/.ssh/config or /etc/ssh_config file, if available",
    "For more information on how to configure, please see http://fitztrev.github.io/shuttle/"
  ],
  "editor": "default",
  "launch_at_login": true,
  "terminal": "iTerm.app",
  "iTerm_version": "stable",
  "default_theme": "Homebrew",
  "open_in": "tab",  
  "show_ssh_config_hosts": false,
  "ssh_config_ignore_hosts": [  ],
  "ssh_config_ignore_keywords": [  ],
  "hosts": [
    {
      "cmd": "ps aux | grep defaults",
      "name": "Grep - Opens in Default-window-theme-title"
    },
        {
          "Customer Servers": [
            {
              "cmd": "ssh username@blog2.example.com",
              "inTerminal": "tab",
              "name": "Levnedrezy",
              "theme": "basic",
              "title": "title of tab"
            },
            {
              "cmd": "ssh -p 77 root@panel.uhlhosting.ch",
              "inTerminal": "tab",
              "name": "Panel",
              "theme": "basic",
              "title": "title of new window"
            }
          ]
    },
    {
      "Nodes": [
        {
          "cmd": "ssh vagrant@127.0.0.1 -p 2222 -i ~/.vagrant.d/insecure_private_key",
          "name": "Vagrant - Opens in default-window-theme-title"
        }
      ]
    }
  ]
}

        

I tried this config with Panel host. It just moves to Iterm and does nothing. Any idea why?

@pomelo
Copy link

pomelo commented Mar 29, 2017

Same problem. Shuttle can work with Terminal.app, but failed to start iTerm2 on Sierra.

Edit: try logout/reboot your mac, shuttle might then work with iTerm2.

@stefancrain
Copy link

I had this issue and resolved it by reinstalling shuttle with the newest version, I tested your config file worked and it worked for me. No logout / reboot required.

@cba85
Copy link

cba85 commented Aug 15, 2017

Just a quick comment to say I never had any issues with Terminal and iTerm2 on Mac OS X Sierra.
Thank you for Shuffle 👍

@rpural
Copy link

rpural commented Apr 18, 2018

I'm seeing the same issue. Downloaded the git clone, built the program, edited the json file. It opens a new tab for each connection selected, but doesn't actually execute the ssh command. Same for Settings -> Edit: It opens the iTerm, but doesn't actually execute any command. The window title is changed, and the window appears, but no command.

@cchencool
Copy link

cchencool commented Apr 19, 2018

It seems I have seen a similar issue. I don't know whether this could help. I sent command or ssh to the current terminal or open a new tab. but the terminal windows just lost focus and no other things happened. Finally, I found the reason caused it is the Ubuntu VM I have installed in PD. It seems if I opened the terminal in Ubuntu VM, the command would try to send to the VM terminal rather than macOS terminal, although it failed. I solved it by canceling the VM software sharing and everything goes fine.

@thshdw
Copy link
Collaborator

thshdw commented May 31, 2018

I'll be installing the latest macOS this week and will test this out. @stefancrain solution should solve the issues. I'll be able to do some testing once I have latest macOS

@suxiaogang
Copy link

suxiaogang commented Jun 28, 2018

same issue here.
MacOS 10.13.5 & iTerm2 Build 3.2.0beta5
almost tried everything but still not working. after clicking a ssh address, the screen just switch to iTerm2 but not pasting the ip address and won't connect.

@thshdw
Copy link
Collaborator

thshdw commented Jun 28, 2018

@suxiaogang There are some applescript changes that should fix iTerm issues. You can see these changes in pull #232

I have a couple more changes that I want to include in 1.30 so I wont get to making a new binary until sometime in July.

If the suggestions from @stefancrain don't work for you you'll have to use macOS terminal until the binary is released.

@borekbb
Copy link

borekbb commented Aug 3, 2018

In my case it was related to an old iterm2 configuration, deleting the configuration fixed the issue

defaults delete com.googlecode.iterm2

https://www.iterm2.com/faq.html

@LiuSirZ
Copy link

LiuSirZ commented Sep 21, 2018

I modified "inTerminal" in your configuration file to "current". it worked for me. I hope it helps you.
@uhlhosting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants