ssh (NOT sftp) upload routines
Status: Alpha
Brought to you by:
gavinandresen
In the past, I've run into servers that I can access via ssh but NOT via sftp.
It would be nice if there was a put_ssh script that moved files via the generic:
cat file | ssh username@server 'cat > "dir/file"'
... either relying on the ssh public key mechanism OR run inside an 'expect' script like the one that put_sftp uses.
(and a remove_ssh that did:
ssh username@server 'rm "dir/file"' )