user2583: I need to be able to generate addresses and receive bitcoins to them, then send them somewhere else - and do it on a server via some command-line interface. Is it possible to do so without downloading the whole blockchain, as bitcoind requires? That is, is there a lightweight client, but for the command line?

user5773: Electrum has a text-only version, although I found I had to set it up first time using the gui. Here's my write-up on running it on a Raspberry Pi via SSH though, which sounds like it might do what you need: 
http://bitcoinlife.wordpress.com/2013/05/29/running-electrum-on-a-raspberry-pi/

2583: <p>I need to be able to generate addresses and receive bitcoins to them, then send them somewhere else - and do it on a server via some command-line interface. Is it possible to do so without downloading the whole blockchain, as bitcoind requires? That is, is there a lightweight client, but for the command line?</p>
 5773: <p>Electrum has a text-only version, although I found I had to set it up first time using the gui. Here's my write-up on running it on a Raspberry Pi via SSH though, which sounds like it might do what you need: </p>

<p><a href="http://bitcoinlife.wordpress.com/2013/05/29/running-electrum-on-a-raspberry-pi/" rel="nofollow">http://bitcoinlife.wordpress.com/2013/05/29/running-electrum-on-a-raspberry-pi/</a></p>
