commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
I have come across multiple situations where I could only get to a server from a very restrictive bounce point which would not allow file transfers. I was able to uuencode a file, copy the output to a text file over putty, and then uudecode the file to transfer it. This works with any kind of file.
There are 4 alternatives - vote for the best!
Nice command for when you don't have scp available for whatever reason.
Works with binaries.
cat didn't seem to work with binaries to well for me, the above command seemed to do the trick.
Opps should be pointed out its going through a "hop" box (which is why I was searching here in first place), only need the last bit (after the -t) if doing it directly from one box to another...
If you can do better, submit your command here.
You must be signed in to comment.