خرید بک لینک

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
I succeeded with catting it_rsa.pub to authorized_keys, but when I tried to coect to hermod I got:

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
Two problems:
  • Why could I not ssh-copy-id?
  • Why can I not coect to the new (hermod) computer?

Edit:
Oh, I installed the openSSH client on the old computer (eg. LOKI).

- - , .

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 28 بهمن 1394 ساعت: 18:21

صفحه بندی