Repeating the steps through ssh works as expected.