Это то, что я закончил:
scp me@machine:.profile . # Fix .profile scp .profile me@machine:. ssh me@machine