Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.43k stars 3.4k forks source link

Disable SSH messages during connection #7911

Open feym78 opened 1 year ago

feym78 commented 1 year ago

Is your feature request related to a problem? Please describe. I am new to this project and I used to use openssh client on windows 10. When I am connecting from it there is no additional messages from the client, you just get to your session then with no additional messages in console. When I am connecting from Tabby with internal client there is some messages from ssh client that I would like to have an option to disable. These messages are: SSH Connecting to some host SSH ! Agent auth selected, but no running agent is detected SSH Host key fingerprint: SSH ecdsa-sha2-nistp256 some key SSH Loading private key: C:\Users\user\.ssh\key

Describe the solution you'd like I would like to have an option to disable these messages.

Describe alternatives you've considered Maybe it is possible to use external ssh client? I know that I can use openssh from console, but I would like to use GUI from Tabby.

Additional context I am using connections imported from ssh config file.

roycec commented 1 year ago

A configuration option for the (local) SSH would be nice. This kind of messages are quite annoying when you have a terminal open and the messages fill up the terminal over time.

Eugeny commented 1 year ago

You can now disable these in Settings - SSH

feym78 commented 1 year ago

You can now disable these in Settings - SSH

Hi! Thank you for reply and your work. Just updated Tabby to the new version. I see there is now option "Clear terminal after connection", but looks like it works a liitle different :) I mean, it does clear terminal after connection, but also clear all history after relogin in the same tab. So if I open ssh tab, make some work in it and suddenly lose connection - after reconnect I will have an empty terminal tab. This is not very comfortable work scenario.

roycec commented 1 year ago

And the above mentioned messages still appear.

feym78 commented 1 year ago

And the above mentioned messages still appear.

Correct. Actually I was interested in a feature that will not clear terminal, but just disable these messages, so temrinal behavior will be like in console with openssh client.

  1. When you are first open a ssh tab in Tabby there will be maybe some short message about trying to connect and then remote terminal shell.
  2. When you are trying to reconect in old ssh tab there also maybe some short message about it and then remote terminal shell AND all old terminal history persist.