You are on page 1of 1

doug@doug-Studio-1555:~$ ssh 192.168.0.118 The authenticity of host '192.168.0.118 (192.168.0.118)' can't be established. ECDSA key fingerprint is 0d:69:31:52:d4:c8:89:f5:32:aa:38:e8:a2:b2:4c:6e.

Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.0.118' (ECDSA) to the list of known hosts. doug@192.168.0.118's password: Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-37-generic x86_64) * Documentation: https://help.ubuntu.com/ 0 packages can be updated. 0 updates are security updates. Last login: Tue Feb 12 08:25:32 2013 from dougbox.local doug@VirtualBox-OldServer:~$ exit logout Connection to 192.168.0.118 closed. doug@doug-Studio-1555:~$ ssh-keygen -t dsa Generating public/private dsa key pair. Enter file in which to save the key (/home/doug/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/doug/.ssh/id_dsa. Your public key has been saved in /home/doug/.ssh/id_dsa.pub. The key fingerprint is: ce:f1:63:f6:50:96:76:88:90:e8:fc:95:47:44:da:39 doug@doug-Studio-1555 The key's randomart image is: +--[ DSA 1024]----+ | .o | | ..+. | | .o.E | | o .++ | | oS+B. | | ++=. | | +* | | o+ | | . | +-----------------+ doug@doug-Studio-1555:~$ ssh-copy-id -i ~./ssh/id_dsa.pub doug@192.168.0.118 /usr/bin/ssh-copy-id: ERROR: No identities found doug@doug-Studio-1555:~$ ssh-copy-id -i ~/.ssh/id_dsa.pub doug@192.168.0.118 doug@192.168.0.118's password: Now try logging into the machine, with "ssh 'doug@192.168.0.118'", and check in: ~/.ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. doug@doug-Studio-1555:~$

You might also like