Is there a way to extract data from db which is accessible over telent?

Is there a way to extract data from some old db which is accessible over telent?