Coffee back in the civil war was loved by many as in today's world. In the civil war there were many times that coffee was in short supply, so the troops came up with some wild ways to make coffee. Both northern and southern troops made the best with what they had. This is only one way of many to make this type of coffee.
Take peanuts and remove there shells. Place peanuts into a lightly greased skillet. Roast peanuts in skillet until they become a brown / black.
Remove from pan and grind peanuts using your bayonet and mucket. Place your coffee mixture into your boiler and boil like normal coffee. When you are ready to drink, strain your coffee into your mucket and add sugar if you have it. This same recipe can be used for apple and sweet potato coffee.