Send keys over ssh connection to nano editor

Solution 1:

No need to use any interactive editor.

Write the new schedule to a file and then simply call:

crontab  file 

See the crontab man page.