Advertisement
Guest User

Untitled

a guest
Jul 30th, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. $ ssh -v finxxx@xxx.79.xxx.29
  2. OpenSSH_6.0p1, OpenSSL 1.0.1c 10 May 2012
  3. debug1: Connecting to xxx.79.xxx.29 [xxx.79.xxx.29] port 22.
  4. debug1: Connection established.
  5. debug1: identity file /home/xxxtta/.ssh/id_rsa type -1
  6. debug1: identity file /home/xxxtta/.ssh/id_rsa-cert type -1
  7. debug1: identity file /home/xxxtta/.ssh/id_dsa type 2
  8. debug1: identity file /home/xxxtta/.ssh/id_dsa-cert type -1
  9. debug1: identity file /home/xxxtta/.ssh/id_ecdsa type -1
  10. debug1: identity file /home/xxxtta/.ssh/id_ecdsa-cert type -1
  11. debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3p1 Debian-3ubuntu7
  12. debug1: match: OpenSSH_5.3p1 Debian-3ubuntu7 pat OpenSSH_5*
  13. debug1: Enabling compatibility mode for protocol 2.0
  14. debug1: Local version string SSH-2.0-OpenSSH_6.0
  15. debug1: SSH2_MSG_KEXINIT sent
  16. debug1: SSH2_MSG_KEXINIT received
  17. debug1: kex: server->client aes128-ctr hmac-md5 none
  18. debug1: kex: client->server aes128-ctr hmac-md5 none
  19. debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
  20. debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
  21. debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
  22. debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
  23. debug1: Server host key: RSA c7:b2:f1:f9:76:cd:24:5a:80:91:4b:e5:ac:7e:e1:ee
  24. debug1: Host 'xxx.79.xxx.29' is known and matches the RSA host key.
  25. debug1: Found key in /home/xxxtta/.ssh/known_hosts:1
  26. debug1: ssh_rsa_verify: signature correct
  27. debug1: SSH2_MSG_NEWKEYS sent
  28. debug1: expecting SSH2_MSG_NEWKEYS
  29. debug1: SSH2_MSG_NEWKEYS received
  30. debug1: Roaming not allowed by server
  31. debug1: SSH2_MSG_SERVICE_REQUEST sent
  32. debug1: SSH2_MSG_SERVICE_ACCEPT received
  33. debug1: Authentications that can continue: publickey
  34. debug1: Next authentication method: publickey
  35. debug1: Trying private key: /home/xxxtta/.ssh/id_rsa
  36. debug1: Offering DSA public key: /home/xxxtta/.ssh/id_dsa
  37. debug1: Authentications that can continue: publickey
  38. debug1: Trying private key: /home/xxxtta/.ssh/id_ecdsa
  39. debug1: No more authentication methods to try.
  40. Permission denied (publickey).
  41.  
  42. $ ssh-keygen -t dsa
  43. Generating public/private dsa key pair.
  44. Enter file in which to save the key (/home/xxxtta/.ssh/id_dsa):
  45. Enter passphrase (empty for no passphrase):
  46. Enter same passphrase again:
  47. Your identification has been saved in /home/xxxtta/.ssh/id_dsa.
  48. Your public key has been saved in /home/xxxtta/.ssh/id_dsa.pub
  49.  
  50. # scp .ssh/id_dsa.pub dude@remotemachine
  51.  
  52. # cat id_dsa.pub >> ~/.ssh/authorized_keys
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement