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.sh plugin not working #1579

Closed
C4Wiz opened this issue Mar 30, 2021 · 7 comments
Closed

ssh.sh plugin not working #1579

C4Wiz opened this issue Mar 30, 2021 · 7 comments

Comments

@C4Wiz
Copy link
Contributor

C4Wiz commented Mar 30, 2021

list populates from ~/.ssh/config but when clicked nothing happens!

#!/usr/bin/env bash
#
# Quickly SSH to your favorite hosts
# The list of hosts are extracted from ~/.ssh/config
#
# <xbar.title>SSH</xbar.title>
# <xbar.version>v1.0</xbar.version>
# <xbar.author>Thameera Senanayaka</xbar.author>
# <xbar.author.github>thameera</xbar.author.github>
# <xbar.desc>Quickly SSH to your favorite hosts listed in your ~/.ssh/config file</xbar.desc>
#

echo "ssh"
echo "---"
awk  '/^Host / && !/\*/ {print $2" | bash=ssh param1="$2}' ~/.ssh/config
@davidohne
Copy link

Running into the same issue :(

@C4Wiz
Copy link
Contributor Author

C4Wiz commented Apr 13, 2021

anyone?

@LivelyCarpet87
Copy link
Contributor

I'm not sure if this is going to be helpful, but I have seen similar issues with the BETA release of xbar. I've noticed occasionally xbar crashes and none of the buttons in plugins work. It generally is fixed when I restart xbar. Is this phenomenon specific to this plugin?

@lukestein
Copy link
Contributor

Can you confirm that xbar has the needed system privacy preferences to run commands in Terminal? It should have asked at first install, but if it didn't—or if you didn't say yes—you may run into these problems.

More details on privacy preferences (and hints towards a potential solution) here.

@C4Wiz
Copy link
Contributor Author

C4Wiz commented Apr 23, 2021

Can you confirm that xbar has the needed system privacy preferences to run commands in Terminal? It should have asked at first install, but if it didn't—or if you didn't say yes—you may run into these problems.

More details on privacy preferences (and hints towards a potential solution) here.

i can confirm i have the required preferences, but it still does not work!

Screen Shot 2021-04-23 at 7 33 05 AM

Screen Shot 2021-04-23 at 7 57 38 AM

@lukestein
Copy link
Contributor

lukestein commented Apr 23, 2021

This issue with ssh.sh appears to be an example of the more general bug documented in this issue (whether the terminal parameter is true, false, or missing, commands do not run in the terminal)

@matryer
Copy link
Owner

matryer commented Sep 1, 2021

Please try with the latest release, we fixed terminal=true.

@matryer matryer closed this as completed Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants