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
-
the funny part is that one of my hobbies is making weird keyboards. I could totally make a keyboard I type with my feet or something, which wouldn't be stopped by my current hand-problems.
except I can't go make a keyboard when I'm currently disabled!
-
space slut :boost_ok:replied to Foone🏳️⚧️ last edited by
@foone i might be too linux minded, but isn't that what scp is for? (and i think putty has pscp for the same purpose o.o)
-
@nasha oh neat
-
Foone🏳️⚧️replied to space slut :boost_ok: last edited by
@spacekatia yeah. but the specific thing I'm annoyed by is the fact that that means reauthenticating to the server.
I already have a perfectly good SSH connection to the server, I should be able to send files over that link -
@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