On Sun, Dec 06, 2009 at 03:19:56PM +0100, Ionel Mugurel Ciobica wrote: > > I would like to make that automatic. Before I go and write procedures > for this I am asking if someone already did this, so I don't need to > reinvent the wheel. The shell from witch mutt runs knows about > $REMOTEHOST. I also use ssh-agent, so no need to worry about passwords > and stuff.
Only shortcut I can come up with is that you can pipe the attachment to "ssh u...@localmachine cat > file-in-homedir.ext" when your agent knows a key that can open the connection to the localmachine. Peter
