I have my Honda generator under the seat in stern, its chained on via safety eye bolts. I have a short lead that plugs into shore power socket in the stern, runs great, not experienced any issues. Treat it like I am on shore power.
One thing I did learn early on was get yourself a plastic bottle the size for fuel refill so it's easy to fill at sea. I have a bottle that has a hose coming out of cap so no spills.
Been running this for 10 years the Honda is very reliable and easy starter.
See generator under stern seat.
Odysseus
Bav 38