I still miss sz and rz when I ssh from a computer with no ssh server like nearly every windows box. If I remember right, sz = send a file from the server I'm in back to the client server. rz = receive a file from the client server.
You can accomplish the with a new scp session on the client server, but it's an extra step. I use this as a helper when for building the scp command.
function scppath() {
echo $USER@$(hostname).$(dnsdomainname):$(realpath $1)
]
There's a "zssh" project that wraps an SSH session with ZModem handling, but it would be neat to see a tool like that this didn't require sz and rz installed.
You can accomplish the with a new scp session on the client server, but it's an extra step. I use this as a helper when for building the scp command.
function scppath() { echo $USER@$(hostname).$(dnsdomainname):$(realpath $1) ]