Advertisement
Guest User

ssh w/o passwd

a guest
Sep 4th, 2014
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. **** su cephcool06
  2.  
  3. *******ssh-keygen
  4.  
  5. *******ssh-copy-id cephcool06@blade8
  6. /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
  7. /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
  8. cephcool06@blade8's password:
  9.  
  10. Number of key(s) added: 1
  11.  
  12. Now try logging into the machine, with: "ssh 'cephcool06@blade8'"
  13. and check to make sure that only the key(s) you wanted were added.
  14.  
  15.  
  16. ******ssh blade8
  17. Linux blade7 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64
  18.  
  19. The programs included with the BOSS GNU/Linux system are free software;
  20. the exact distribution terms for each program are described in the
  21. individual files in /usr/share/doc/*/copyright.
  22.  
  23. BOSS GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  24. permitted by applicable law.
  25. Last login: Thu Sep 4 14:33:23 2014 from blade8
  26. ***** $ hostname
  27. ******* blade7
  28.  
  29. in my system(blade7)
  30. vi /root/.ssh/config
  31. Host blade8
  32. HostName 192.168.51.69
  33. User cephcool06
  34. port 22
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement