transfering files via ssh-xfer hack
Today my friend Brian from high school (who now works at Apple) just showed me a cool ssh transfer tool, ssh-xfer. Haven’t tried it yet, but it looks as if it scratches a good itch on some of my Nagios deployments (e.g. quickly dropping nrpe.cfg on servers).
To test it out, SSH to the remote host, making sure agent forwarding is on. Then try:
ssh-xfer somefilehere.txt
The file should magically appear at your local ~/Desktop, or on your Windows desktop with the PuTTY patch. If you want a different path, edit the patch. You can also go
cat somefilehere.txt | ssh-xfer nametocallfile.txt
About this entry
You’re currently reading “transfering files via ssh-xfer hack,” an entry on Hack My Idea
- Published:
- 08.09.08 / 10am
- Category:
- free, monitoring, opensource
No comments
Jump to comment form | comments rss [?] | trackback uri [?]