I created the key by using ssh-keygen but then when I try to copy the public key to the node (my laptop) by using ssh-copy-id machine_name I get ssh: connect to host machine_name port 22: Connection refused Dimitris