someone should figure out how to make it so that if you drag and drop a file into an SSH session (like in putty), it automatically creates some kind of tunnel (over SFTP or something?) and transfers the file
-
@foone Some terminals provide functionality like this via Zmodem - you drag a file into the window and it types something like “rz file name” into the session and then pipes it in. I think at least iTerm2 on the Mac does this.
-
@jordan yeah! I'm saying that would be cool to add onto putty.
-
@foone @spacekatia OpenSSH hads a feature called ControlMaster (iirc) for this. It will try to reuse existing sessions
-
@foone
If you're on Windows, why aren't you using On Screen Keyboard (OSK)?Use the On-Screen Keyboard (OSK) to type - Microsoft SupportYour Privacy Choices Opt-Out Icon
Learn how to use the On-Screen Keyboard (OSK) instead of a physical keyboard to type and enter text on your PC.
(support.microsoft.com)
-
@foone You might find sftp useful.
-
@foone IIRC, kitty has something like that, although I haven't particularly dug into it.
kitty
The fast, feature-rich, GPU based terminal emulator Fast Uses GPU and SIMD vector CPU instructions for best in class, Uses threaded rendering for absolutely minimal latency, Performance tradeoffs c...
kitty (sw.kovidgoyal.net)
-
@foone You don't necessarily need to reauthenticate. You can have your ssh connection reused by adding this sort of thing into your
.ssh/config
:Host *
ControlMaster auto
ControlPath ~/.ssh/cm_socket/%r@%h:%pThen, once you have one ssh going, the subsequent ones will not have to open a new link on their own; they can use the socket to talk to the already-running client, and tunnel their further ssh/scp/sftp activities through it.
-
@RealGene no touch screen
-
@foone Also, Python has a reasonably useable ssh client library,
paramiko
. -
@riley yep. I think I've even contributed to it