3 ms·
TO make using SSH more ergonomic, use it with a terminal that integrates with it, such as kitty: https://sw.kovidgoyal.net/kitty/kittens/ssh/ https://sw.kovidgo
by aumerle 4y ago
TO make using SSH more ergonomic, use it with a terminal that integrates with it, such as kitty: https://sw.kovidgoyal.net/kitty/kittens/ssh/ https://sw.kovidgoyal.net/kitty/kittens/ssh/
That makes using SSH ControlMaster automatic, scoped to the lifetime of the terminal session, and allows for easy automatic syncing of local shell and editor rc files to the remote host, as well as easy opening of remote files in the local editor and can even clone shell sessions into new terminal windows.
- francislavoie 4y agoI use kitty, but I can't use this functionality because I tend to ssh into root-only (or where a single user is shared) boxes. Copying config files there wouldn't be good because it would affect everyone, not just me. That said, it is pretty sweet that this functionality exists.
- aumerle 4y agoYou dont need to overwrite anyone elses config files, see https://sw.kovidgoyal.net/kitty/kittens/ssh/#a-real-world-example https://sw.kovidgoyal.net/kitty/kittens/ssh/#a-real-world-ex...
- francislavoie 4y agoThat's not really a solution TBH, it's basically just copying the files _somewhere else_ than the default. I think it's generally not okay to copy over files to prod servers. If it's a shared box, you probably shouldn't be leaving behind a trace.
- BrandoElFollito 4y ago... except for a Caddyfile :) For those who do not know Francis, he is co-developing Caddy, THE. BEST. web engine there is. I take this opportunity to thank you as well as Matt Holt for the incredible product.
- mholt 4y agoThat's nice of you! Thank you! :)
- BrandoElFollito 4y agoDid I mention that the community support is incredibly good as well? One of these rare non-toxic environments where you can get and answer to some simple problems (usually because you missed something in the excellent docs), or something more advanced for which there is a solution as well :)
- francislavoie 4y ago:) thanks for the kind words!