fix issue over ssh with docker and flag -i