[HN Gopher] SSH-tools: Making SSH more convenient ___________________________________________________________________ SSH-tools: Making SSH more convenient Author : vaporup Score : 32 points Date : 2022-02-14 21:01 UTC (1 hours ago) (HTM) web link (github.com) (TXT) w3m dump (github.com) | sudobash1 wrote: | One thing I wish ssh would make easier is terminfo. I have moved | from using xterm as my daily terminal emulator to kitty. The only | complaint I have is when I ssh around, I need to copy the | terminfo to the remote system (kitty does not use | TERM="xterm-256color" because it is not 100% compatible). | | Kitty does have a ssh wrapper which can copy the terminfo for me, | but I rarely remember to use it. And it doesn't work for every | scenario. Honestly, I wish that it was more common / feasible to | probe terminals for capabilities instead of relying on an env var | & terminfo files. | | So while I wait for the kitty terminfo to be in the database by | default on most systems, I often override TERM to xterm-256color. | 0x0 wrote: | Modern ssh clients support adding a "SetEnv" in .ssh/config, | might work for overriding TERM as well | dijit wrote: | I solved this issue by adding alias | ssh='TERM=xterm-256color ssh' | | To my .bashrc/.zshrc | Timothycquinn wrote: | Looks very handy. Thanks for these tools! ___________________________________________________________________ (page generated 2022-02-14 23:00 UTC)