Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.65 KB | None | 0 0
  1. % ssh -X myserver xlogo
  2. X11 connection rejected because of wrong authentication.
  3. X11 connection rejected because of wrong authentication.
  4. X11 connection rejected because of wrong authentication.
  5. X11 connection rejected because of wrong authentication.
  6. Error: Can't open display: localhost:10.0
  7. %
  8.  
  9. % ssh -X myserver
  10.  
  11. % ssh -vvvX myserver xlogo
  12. OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
  13. debug1: Reading configuration data /home/yrstruly/.ssh/config
  14. debug1: /home/yrstruly/.ssh/config line 19: Applying options for *
  15. debug1: Reading configuration data /etc/ssh/ssh_config
  16. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  17. debug2: ssh_connect: needpriv 0
  18. debug1: Connecting to myserver [10.0.140.33] port 22.
  19. debug1: Connection established.
  20. debug3: Incorrect RSA1 identifier
  21. debug3: Could not load "/home/yrstruly/.ssh/id_rsa" as a RSA1 public key
  22. debug1: identity file /home/yrstruly/.ssh/id_rsa type 1
  23. debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
  24. debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
  25. debug1: identity file /home/yrstruly/.ssh/id_rsa-cert type -1
  26. debug1: identity file /home/yrstruly/.ssh/id_dsa type -1
  27. debug1: identity file /home/yrstruly/.ssh/id_dsa-cert type -1
  28. debug1: identity file /home/yrstruly/.ssh/id_ecdsa type -1
  29. debug1: identity file /home/yrstruly/.ssh/id_ecdsa-cert type -1
  30. debug1: Remote protocol version 2.0, remote software version OpenSSH_5.6
  31. debug1: match: OpenSSH_5.6 pat OpenSSH*
  32. debug1: Enabling compatibility mode for protocol 2.0
  33. debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
  34. debug2: fd 3 setting O_NONBLOCK
  35. debug3: load_hostkeys: loading entries for host "myserver" from file "/home/yrstruly/.ssh/known_hosts"
  36. debug3: load_hostkeys: found key type RSA in file /home/yrstruly/.ssh/known_hosts:3
  37. debug3: load_hostkeys: loaded 1 keys
  38. debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa
  39. debug1: SSH2_MSG_KEXINIT sent
  40. debug1: SSH2_MSG_KEXINIT received
  41. debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
  42. debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-rsa,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-dss
  43. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
  44. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
  45. debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
  46. debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
  47. debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
  48. debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
  49. debug2: kex_parse_kexinit:
  50. debug2: kex_parse_kexinit:
  51. debug2: kex_parse_kexinit: first_kex_follows 0
  52. debug2: kex_parse_kexinit: reserved 0
  53. debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
  54. debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
  55. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
  56. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
  57. debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
  58. debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
  59. debug2: kex_parse_kexinit: none,zlib@openssh.com
  60. debug2: kex_parse_kexinit: none,zlib@openssh.com
  61. debug2: kex_parse_kexinit:
  62. debug2: kex_parse_kexinit:
  63. debug2: kex_parse_kexinit: first_kex_follows 0
  64. debug2: kex_parse_kexinit: reserved 0
  65. debug2: mac_setup: found hmac-md5
  66. debug1: kex: server->client aes128-ctr hmac-md5 none
  67. debug2: mac_setup: found hmac-md5
  68. debug1: kex: client->server aes128-ctr hmac-md5 none
  69. debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
  70. debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
  71. debug2: dh_gen_key: priv key bits set: 129/256
  72. debug2: bits set: 521/1024
  73. debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
  74. debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
  75. debug1: Server host key: RSA 3b:5b:22:9e:e4:d1:12:7a:b9:6e:1a:e6:25:6d:b8:0e
  76. debug3: load_hostkeys: loading entries for host "myserver" from file "/home/yrstruly/.ssh/known_hosts"
  77. debug3: load_hostkeys: found key type RSA in file /home/yrstruly/.ssh/known_hosts:3
  78. debug3: load_hostkeys: loaded 1 keys
  79. debug3: load_hostkeys: loading entries for host "10.0.140.33" from file "/home/yrstruly/.ssh/known_hosts"
  80. debug3: load_hostkeys: found key type RSA in file /home/yrstruly/.ssh/known_hosts:4
  81. debug3: load_hostkeys: loaded 1 keys
  82. debug1: Host 'myserver' is known and matches the RSA host key.
  83. debug1: Found key in /home/yrstruly/.ssh/known_hosts:3
  84. debug2: bits set: 511/1024
  85. debug1: ssh_rsa_verify: signature correct
  86. debug2: kex_derive_keys
  87. debug2: set_newkeys: mode 1
  88. debug1: SSH2_MSG_NEWKEYS sent
  89. debug1: expecting SSH2_MSG_NEWKEYS
  90. debug2: set_newkeys: mode 0
  91. debug1: SSH2_MSG_NEWKEYS received
  92. debug1: Roaming not allowed by server
  93. debug1: SSH2_MSG_SERVICE_REQUEST sent
  94. debug2: service_accept: ssh-userauth
  95. debug1: SSH2_MSG_SERVICE_ACCEPT received
  96. debug2: key: /home/yrstruly/.ssh/id_rsa (0xb7a97898)
  97. debug2: key: yrstruly@mylaptop (0xb7a991c8)
  98. debug2: key: yrstruly@mylaptop (0xb7a99398)
  99. debug2: key: /home/yrstruly/.ssh/id_dsa ((nil))
  100. debug2: key: /home/yrstruly/.ssh/id_ecdsa ((nil))
  101. debug1: Authentications that can continue: publickey,keyboard-interactive
  102. debug3: start over, passed a different list publickey,keyboard-interactive
  103. debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
  104. debug3: authmethod_lookup publickey
  105. debug3: remaining preferred: keyboard-interactive,password
  106. debug3: authmethod_is_enabled publickey
  107. debug1: Next authentication method: publickey
  108. debug1: Offering RSA public key: /home/yrstruly/.ssh/id_rsa
  109. debug3: send_pubkey_test
  110. debug2: we sent a publickey packet, wait for reply
  111. debug1: Server accepts key: pkalg ssh-rsa blen 279
  112. debug2: input_userauth_pk_ok: fp 0e:d0:ba:5c:c1:39:a9:c7:7b:c4:b7:11:87:33:b7:d7
  113. debug3: sign_and_send_pubkey: RSA 0e:d0:ba:5c:c1:39:a9:c7:7b:c4:b7:11:87:33:b7:d7
  114. debug1: Authentication succeeded (publickey).
  115. Authenticated to myserver ([10.0.140.33]:22).
  116. debug1: channel 0: new [client-session]
  117. debug3: ssh_session2_open: channel_new: 0
  118. debug2: channel 0: send open
  119. debug1: Requesting no-more-sessions@openssh.com
  120. debug1: Entering interactive session.
  121. debug2: callback start
  122. debug2: x11_get_proto: /usr/bin/xauth -f /tmp/ssh-gMzJTOiJ3041/xauthfile generate :0.0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null
  123. debug2: x11_get_proto: /usr/bin/xauth -f /tmp/ssh-gMzJTOiJ3041/xauthfile list :0.0 2>/dev/null
  124. debug1: Requesting X11 forwarding with authentication spoofing.
  125. debug2: channel 0: request x11-req confirm 1
  126. debug2: client_session2_setup: id 0
  127. debug2: fd 3 setting TCP_NODELAY
  128. debug1: Sending environment.
  129. debug3: Ignored env PWD
  130. debug3: Ignored env DISPLAY
  131. debug3: Ignored env TERM
  132. debug3: Ignored env TERMCAP
  133. debug3: Ignored env COLUMNS
  134. debug3: Ignored env EMACS
  135. debug3: Ignored env INSIDE_EMACS
  136. debug3: Ignored env _
  137. debug3: Ignored env VENV_DIR
  138. debug3: Ignored env VIRTUALENVWRAPPER_LOG_DIR
  139. debug3: Ignored env VIRTUALENVWRAPPER_HOOK_DIR
  140. debug3: Ignored env WORKON_HOME
  141. debug3: Ignored env VIRTUALENVWRAPPER_PROJECT_FILENAME
  142. debug3: Ignored env RSYNC_GLOBAL_INCLUDES
  143. debug3: Ignored env RSYNC_GLOBAL_EXCLUDES
  144. debug3: Ignored env RSYNC_PARTIAL_DIR
  145. debug3: Ignored env RSYNC_DIR
  146. debug3: Ignored env CVSEDITOR
  147. debug3: Ignored env EDITOR
  148. debug3: Ignored env GIT_PAGER
  149. debug3: Ignored env LESS
  150. debug3: Ignored env PAGER
  151. debug3: Ignored env PERL_RL
  152. debug3: Ignored env HISTCONTROL
  153. debug3: Ignored env HISTFILESIZE
  154. debug3: Ignored env HISTFILE
  155. debug3: Ignored env SAVEHIST
  156. debug3: Ignored env HISTSIZE
  157. debug3: Ignored env LSCOLORS
  158. debug3: Ignored env perld
  159. debug1: Sending env LC_ALL = en_US.utf8
  160. debug2: channel 0: request env confirm 0
  161. debug3: Ignored env LANGUAGE
  162. debug3: Ignored env ZSHVARDIR
  163. debug3: Ignored env ZDOTDIROS
  164. debug3: Ignored env ZDOTDIRLOCAL
  165. debug3: Ignored env ZDOTDIR
  166. debug3: Ignored env OLDPWD
  167. debug3: Ignored env SHLVL
  168. debug3: Ignored env GPG_AGENT_INFO
  169. debug3: Ignored env XDG_SESSION_PATH
  170. debug3: Ignored env USER
  171. debug3: Ignored env HOME
  172. debug3: Ignored env SSH_AUTH_SOCK
  173. debug3: Ignored env PATH
  174. debug3: Ignored env XDG_CURRENT_DESKTOP
  175. debug3: Ignored env SESSION_MANAGER
  176. debug3: Ignored env SSH_AGENT_PID
  177. debug3: Ignored env WINDOWID
  178. debug3: Ignored env XDG_SESSION_COOKIE
  179. debug3: Ignored env XDG_DATA_DIRS
  180. debug3: Ignored env UBUNTU_MENUPROXY
  181. debug3: Ignored env DBUS_SESSION_BUS_ADDRESS
  182. debug3: Ignored env GNOME_DESKTOP_SESSION_ID
  183. debug3: Ignored env GNOME_KEYRING_CONTROL
  184. debug3: Ignored env GDMSESSION
  185. debug3: Ignored env DEFAULTS_PATH
  186. debug3: Ignored env DESKTOP_SESSION
  187. debug3: Ignored env COLORTERM
  188. debug3: Ignored env XAUTHORITY
  189. debug3: Ignored env GNOME_KEYRING_PID
  190. debug3: Ignored env MANDATORY_PATH
  191. debug3: Ignored env LOGNAME
  192. debug1: Sending env LANG = en_US.utf8
  193. debug2: channel 0: request env confirm 0
  194. debug3: Ignored env XDG_CONFIG_DIRS
  195. debug3: Ignored env XDG_SEAT_PATH
  196. debug3: Ignored env SHELL
  197. debug3: Ignored env WINDOW
  198. debug3: Ignored env STY
  199. debug3: Ignored env LD_LIBRARY_PATH
  200. debug1: Sending command: xlogo
  201. debug2: channel 0: request exec confirm 1
  202. debug2: callback done
  203. debug2: channel 0: open confirm rwindow 0 rmax 32768
  204. debug2: channel_input_status_confirm: type 99 id 0
  205. debug2: X11 forwarding request accepted on channel 0
  206. debug2: channel 0: rcvd adjust 2097152
  207. debug2: channel_input_status_confirm: type 99 id 0
  208. debug2: exec request accepted on channel 0
  209. debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
  210. debug1: client_request_x11: request from ::1 51763
  211. debug2: fd 7 setting O_NONBLOCK
  212. debug3: fd 7 is O_NONBLOCK
  213. debug1: channel 1: new [x11]
  214. debug1: confirm x11
  215. debug2: X11 connection uses different authentication protocol.
  216. X11 connection rejected because of wrong authentication.
  217. debug2: X11 rejected 1 i0/o0
  218. debug2: channel 1: read failed
  219. debug2: channel 1: close_read
  220. debug2: channel 1: input open -> drain
  221. debug2: channel 1: ibuf empty
  222. debug2: channel 1: send eof
  223. debug2: channel 1: input drain -> closed
  224. debug2: channel 1: write failed
  225. debug2: channel 1: close_write
  226. debug2: channel 1: output open -> closed
  227. debug2: X11 closed 1 i3/o3
  228. debug2: channel 1: send close
  229. debug2: channel 1: rcvd close
  230. debug2: channel 1: is dead
  231. debug2: channel 1: garbage collecting
  232. debug1: channel 1: free: x11, nchannels 2
  233. debug3: channel 1: status: The following connections are open:
  234. #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cc -1)
  235. #1 x11 (t7 r3 i3/0 o3/0 fd 7/7 cc -1)
  236.  
  237. debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
  238. debug1: client_request_x11: request from ::1 51764
  239. debug2: fd 7 setting O_NONBLOCK
  240. debug3: fd 7 is O_NONBLOCK
  241. debug1: channel 1: new [x11]
  242. debug1: confirm x11
  243. debug2: X11 connection uses different authentication protocol.
  244. X11 connection rejected because of wrong authentication.
  245. debug2: X11 rejected 1 i0/o0
  246. debug2: channel 1: read failed
  247. debug2: channel 1: close_read
  248. debug2: channel 1: input open -> drain
  249. debug2: channel 1: ibuf empty
  250. debug2: channel 1: send eof
  251. debug2: channel 1: input drain -> closed
  252. debug2: channel 1: write failed
  253. debug2: channel 1: close_write
  254. debug2: channel 1: output open -> closed
  255. debug2: X11 closed 1 i3/o3
  256. debug2: channel 1: send close
  257. debug2: channel 1: rcvd close
  258. debug2: channel 1: is dead
  259. debug2: channel 1: garbage collecting
  260. debug1: channel 1: free: x11, nchannels 2
  261. debug3: channel 1: status: The following connections are open:
  262. #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cc -1)
  263. #1 x11 (t7 r3 i3/0 o3/0 fd 7/7 cc -1)
  264.  
  265. debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
  266. debug1: client_request_x11: request from ::1 51765
  267. debug2: fd 7 setting O_NONBLOCK
  268. debug3: fd 7 is O_NONBLOCK
  269. debug1: channel 1: new [x11]
  270. debug1: confirm x11
  271. debug2: X11 connection uses different authentication protocol.
  272. X11 connection rejected because of wrong authentication.
  273. debug2: X11 rejected 1 i0/o0
  274. debug2: channel 1: read failed
  275. debug2: channel 1: close_read
  276. debug2: channel 1: input open -> drain
  277. debug2: channel 1: ibuf empty
  278. debug2: channel 1: send eof
  279. debug2: channel 1: input drain -> closed
  280. debug2: channel 1: write failed
  281. debug2: channel 1: close_write
  282. debug2: channel 1: output open -> closed
  283. debug2: X11 closed 1 i3/o3
  284. debug2: channel 1: send close
  285. debug2: channel 1: rcvd close
  286. debug2: channel 1: is dead
  287. debug2: channel 1: garbage collecting
  288. debug1: channel 1: free: x11, nchannels 2
  289. debug3: channel 1: status: The following connections are open:
  290. #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cc -1)
  291. #1 x11 (t7 r3 i3/0 o3/0 fd 7/7 cc -1)
  292.  
  293. debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
  294. debug1: client_request_x11: request from ::1 51766
  295. debug2: fd 7 setting O_NONBLOCK
  296. debug3: fd 7 is O_NONBLOCK
  297. debug1: channel 1: new [x11]
  298. debug1: confirm x11
  299. debug2: X11 connection uses different authentication protocol.
  300. X11 connection rejected because of wrong authentication.
  301. debug2: X11 rejected 1 i0/o0
  302. debug2: channel 1: read failed
  303. debug2: channel 1: close_read
  304. debug2: channel 1: input open -> drain
  305. debug2: channel 1: ibuf empty
  306. debug2: channel 1: send eof
  307. debug2: channel 1: input drain -> closed
  308. debug2: channel 1: write failed
  309. debug2: channel 1: close_write
  310. debug2: channel 1: output open -> closed
  311. debug2: X11 closed 1 i3/o3
  312. debug2: channel 1: send close
  313. debug2: channel 1: rcvd close
  314. debug2: channel 1: is dead
  315. debug2: channel 1: garbage collecting
  316. debug1: channel 1: free: x11, nchannels 2
  317. debug3: channel 1: status: The following connections are open:
  318. #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cc -1)
  319. #1 x11 (t7 r3 i3/0 o3/0 fd 7/7 cc -1)
  320.  
  321. debug2: channel 0: rcvd ext data 42
  322. debug2: channel 0: rcvd eof
  323. debug2: channel 0: output open -> drain
  324. debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
  325. debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
  326. debug2: channel 0: rcvd eow
  327. debug2: channel 0: close_read
  328. debug2: channel 0: input open -> closed
  329. debug2: channel 0: rcvd close
  330. debug3: channel 0: will not send data after close
  331. debug2: channel 0: obuf_empty delayed efd 6/(42)
  332. Error: Can't open display: localhost:10.0
  333. debug2: channel 0: written 42 to efd 6
  334. debug3: channel 0: will not send data after close
  335. debug2: channel 0: obuf empty
  336. debug2: channel 0: close_write
  337. debug2: channel 0: output drain -> closed
  338. debug2: channel 0: almost dead
  339. debug2: channel 0: gc: notify user
  340. debug2: channel 0: gc: user detached
  341. debug2: channel 0: send close
  342. debug2: channel 0: is dead
  343. debug2: channel 0: garbage collecting
  344. debug1: channel 0: free: client-session, nchannels 1
  345. debug3: channel 0: status: The following connections are open:
  346. #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)
  347.  
  348. Transferred: sent 3152, received 2728 bytes, in 0.4 seconds
  349. Bytes per second: sent 8679.2, received 7511.7
  350. debug1: Exit status 1
  351.  
  352. mkdir ~/Xauth-old
  353. mv ~/.X* ~/Xauth-old/
  354.  
  355. ForwardX11Trusted yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement