On my new computer (Hermod, with Ubuntu 15.10) I installed openSSH server. I generated RSA Keys. I transferred the public key to my old computer (LOKI, with Ubuntu 14.04.3). Next I tried:
Code:
macamba@LOKI:~/.ssh$ ssh-copy-id macamba@hermod /usr/bin/ssh-copy-id: ERROR: failed to open ID file '/home/macamba/.ssh/id_rsa': No such file macamba@LOKI:~/.ssh$ ls -la /home/macamba/.ssh/ total 24K drwx------ 2 macamba macamba 4,0K feb 17 11:54 ./ drwxr-xr-x 81 macamba macamba 12K feb 17 11:03 ../ -rw-r--r-- 1 macamba macamba 396 feb 17 11:34 id_rsa.pub
Code:
macamba@LOKI:~/.ssh$ cat id_rsa.pub >> authorized_keys macamba@LOKI:~/.ssh$ ssh macamba@hermod ssh: Could not resolve hostname hermod: Name or service not known
Edit:
Oh, I installed the openSSH client on the old computer (eg. LOKI).
- - , .
برچسب:
نویسنده: استخدام کار