isontheline / pro.webssh.net

iOS / iPadOS / macOS SSH Client
https://apps.apple.com/us/app/id497714887
MIT License
314 stars 46 forks source link

Rename "Remote command" to "Execute command" #276

Closed ash34 closed 3 years ago

ash34 commented 3 years ago

Describe the bug The function where a snippet would automatically be run after an SSH connection is made has stopped working. In fact I can’t even find where the setting is anymore.

Informations

Screenshots N/A

To Reproduce Steps to reproduce the behavior:

  1. Select a saved SSH connection to begin the connection
  2. After connection and login observe that your previously auto running snippet no longer is executed automatically.
ash34 commented 3 years ago

I see that it has been removed intentionally.

“ Run snippet at connection startup is now removed. Use instead remote command.”

But what is “remote command”? Where do I find that?

isontheline commented 3 years ago

@ash34 On connection settings > terminal settings > Remote command

You should use something like this :

df -h; bash

The last command let you to continue in the terminal.

Snippets won't run anymore at startup because a lot of time we can't know when the shell is available and ready.

ash34 commented 3 years ago

Ok thanks. Maybe the name “remote command” is not so obvious, though. “Initial command”, “auto command” or something similar might be better.

isontheline commented 3 years ago

@ash34 It's not "initial" or "auto" because it could be a command that closes the connection after it's execution. But I don't know how to name it right.

ash34 commented 3 years ago

Maybe execute is best out of those.

isontheline commented 3 years ago

Thanks for your feedback @ash34 I will change this label on this release 14.17 - Trèfle