Terminate session - Enter key followed by ~.
ssh-copy-id -i ~/.ssh/id_rsa.pub melnikov_ea@root-docker03.gorodperm.ru