Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Feb 4th, 2010 | Syntax: Bash | Size: 0.48 KB | Hits: 143 | Expires: Never
Copy text to clipboard
  1. bklopfer@pm8:~$ ssh rescomp.stanford.edu echo This requires a password.
  2. Password:
  3. This requires a password.
  4. bklopfer@pm8:~$ ssh-copy-id -i .ssh/id_dsa.pub rescomp.stanford.edu
  5. Password:
  6. Now try logging into the machine, with "ssh 'rescomp.stanford.edu'", and check in:
  7.  
  8.   .ssh/authorized_keys
  9.  
  10. to make sure we haven't added extra keys that you weren't expecting.
  11.  
  12. bklopfer@pm8:~$ ssh rescomp.stanford.edu echo This is passwordless.
  13. This is passwordless.
  14. bklopfer@pm8:~$