raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.26k stars 2.96k forks source link

[SSH Connection Manager] Shows ProxyCommand instead of host name from ~/.ssh/config #8724

Closed khurshid-alam closed 7 months ago

khurshid-alam commented 11 months ago

Extension

https://www.raycast.com/dimagrossman/ssh-manager

Description

If ssh command contains ProxyCommand or Jump host like this,

Host SecureConnect secure.myhost.com
    User admin
    HostName 168.169.34.54
    Port 22
    IdentityFile ~/.ssh/id_ed25519

Host LB-01
    User admin
    HostName 168.169.54.97
    Port 22
    ProxyCommand ssh -W %h:%p SecureConnect

Then instead of actual host name it shows ProxyCommand.

Note: HOST section can contain alias separated by space like both name and fqdn (host SecureConnect in above example)

SCR-20231008-mkqe

Steps To Reproduce

  1. macOS Ventura
  2. ProxyCommand in ~/.ssh/config
  3. Go to ssh connection

Current Behaviour

Same as above.

Expected Behaviour

It should show Proper name of the host. For multiple host aliases it can show both on the same line or separately as different ssh connection.

raycastbot commented 11 months ago

Thank you for opening this issue!

🔔 @scopsy @LenoxFro @RtiM0 @solid-pixel you might want to have a look.

💡 Author and Contributors commands The author and contributors of `ssh-manager` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopen the issue.
khurshid-alam commented 11 months ago

Summoning @yaronuliel. Can you take a look ?

raycastbot commented 9 months ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

khurshid-alam commented 9 months ago

Pinging @RtiM0 @yaronuliel again, since it is stalled now ? Ssh-plugin unusuable with .ssh/config backend

raycastbot commented 7 months ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot commented 7 months ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.