4 ms·
> kill my SSH session, and then scp or rsync the file over, and then usually SSH back into the system. Naive question: why the need to kill the ssh session? Ca
by kpw94 3y ago
> kill my SSH session, and then scp or rsync the file over, and then usually SSH back into the system.
Naive question: why the need to kill the ssh session? Can't you just open another terminal window or tab (or tmux/screen tab if that's part of your workflow)
- Zambyte 3y agoThat's also a way to do it. I prefer TRAMP over both ways though.
- jakobson14 3y agoOr just scp from the server, inside the same SSH session. scp works both ways.
- shric 3y agoNot the GP, but I assume it's just because the ssh swssion is no longer needed -- it was only required to locate the file.
- wolletd 3y ago> and then usually SSH back into the system.
- rzzzt 3y agoI usually type ~ followed by ^Z to suspend the session for a quick scp operation, then resume with "fg".