Today, I pushed through some paperwork for a server migration I’ll be doing this weekend. Tweaked dns, tweaked cong files, etc etc.
Monitored Stephen Fry’s cluster closely whilst he was live-streaming a talk about social networking. Pretty much it.
Daily Archives: November 19, 2009
Help firefox wget and ssh shell script
I’m trying to create a script to allow me to command a remote server to download a file from firefox.
There are various reasons for this, mainly todo with connection speed.
What I have at the moment is:
#/bin/sh
terminator -x ssh user@site.com wget -qc -t 3 -o ~/wget_testlog ftp://anothersite.com/file.ext \\& \& &
I want it to kick off, ask for a password to login via ssh and then go away…
I would like to be able to set the location for the download to ~/www/files/
I was planning to place this script in /usr/bin and install it in firefox using the code/link provided on this blog: Wget from firefox
Can anyone complete my solution with the correct syntax, or provide a better solution (preferably KISS)?
I’m more of hacker than an expert IMO and I know when I’m out of my depth!
Cheers,
Garreth