Ghana's president and Mali's junta-appointed prime minister on Thursday committed to strengthening relations in the face of rising jihadist violence and instability across west Africa.