Guest User

Untitled

a guest
Nov 23rd, 2017
796
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.41 KB | None | 0 0
  1. screen ssh -X
  2.  
  3. conky -c /path/to/config
  4.  
  5. #/bin/bash
  6. screen ssh -X myconkyuser@myserverip "conky -c /path/to/config"
  7.  
  8. screen ssh -X myconkyuser@myserverip "conky -c /path/to/config"
  9.  
  10. screen ssh -X -vv myconkyuser@myserverip "conky -c /path/to/config"
  11.  
  12. screen ssh -X myconkyuser@myserverip "sh /path/to/conkystartupscript"
  13.  
  14. will@will-Inspiron-7520 ~ 19:46:44 $ ssh -X -vv myconkyuser@myserverip "conky -c /path/to/myconky/config "
  15. OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016
  16. debug1: Reading configuration data /my/ssh/folder/config
  17. debug1: /my/ssh/folder/config line 1: Applying options for myserverip
  18. debug1: /my/ssh/folder/config line 8: Applying options for myserverip
  19. debug1: Reading configuration data /etc/ssh/ssh_config
  20. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  21. debug2: resolving "myserverip" port 22
  22. debug2: ssh_connect_direct: needpriv 0
  23. debug1: Connecting to myserverip [myserverip] port 22.
  24. debug1: Connection established.
  25. debug1: identity file /my/ssh/folder/id_ed25519 type 4
  26. debug1: key_load_public: No such file or directory
  27. debug1: identity file /my/ssh/folder/id_ed25519-cert type -1
  28. debug1: identity file /my/ssh/folder/myconkyuserid_rsa type 1
  29. debug1: key_load_public: No such file or directory
  30. debug1: identity file /my/ssh/folder/myconkyuserid_rsa-cert type -1
  31. debug1: Enabling compatibility mode for protocol 2.0
  32. debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
  33. debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.1
  34. debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 pat OpenSSH* compat 0x04000000
  35. debug2: fd 3 setting O_NONBLOCK
  36. debug1: Authenticating to myserverip:22 as 'myconkyuser'
  37. debug1: SSH2_MSG_KEXINIT sent
  38. debug1: SSH2_MSG_KEXINIT received
  39. debug2: local client KEXINIT proposal
  40. debug2: KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,ext-info-c
  41. debug2: host key algorithms: ssh-ed25519-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,rsa-sha2-512,rsa-sha2-256,ssh-rsa
  42. debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
  43. debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc
  44. debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
  45. debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
  46. debug2: compression ctos: none,zlib@openssh.com,zlib
  47. debug2: compression stoc: none,zlib@openssh.com,zlib
  48. debug2: languages ctos:
  49. debug2: languages stoc:
  50. debug2: first_kex_follows 0
  51. debug2: reserved 0
  52. debug2: peer server KEXINIT proposal
  53. debug2: KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
  54. debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
  55. debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
  56. debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
  57. debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
  58. debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
  59. debug2: compression ctos: none,zlib@openssh.com
  60. debug2: compression stoc: none,zlib@openssh.com
  61. debug2: languages ctos:
  62. debug2: languages stoc:
  63. debug2: first_kex_follows 0
  64. debug2: reserved 0
  65. debug1: kex: algorithm: curve25519-sha256@libssh.org
  66. debug1: kex: host key algorithm: ssh-ed25519
  67. debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
  68. debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
  69. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  70. debug1: Server host key: ssh-ed25519 SHA256:yXsLEfcX1vuLtfzDI/flPwX4OYATC0Usa9EKmZFojWE
  71. debug1: Host 'myserverip' is known and matches the ED25519 host key.
  72. debug1: Found key in /my/ssh/folder/known_hosts:5
  73. debug2: set_newkeys: mode 1
  74. debug1: rekey after 134217728 blocks
  75. debug1: SSH2_MSG_NEWKEYS sent
  76. debug1: expecting SSH2_MSG_NEWKEYS
  77. debug2: set_newkeys: mode 0
  78. debug1: rekey after 134217728 blocks
  79. debug1: SSH2_MSG_NEWKEYS received
  80. debug2: key: /my/ssh/folder/myconkyuserid_rsa (0x5560479c2e00), explicit, agent
  81. debug2: key: will@will-Inspiron-7520 (0x5560479c2ea0), agent
  82. debug2: key: /my/ssh/folder/id_ed25519 (0x5560479b5060), explicit
  83. debug1: SSH2_MSG_EXT_INFO received
  84. debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
  85. debug2: service_accept: ssh-userauth
  86. debug1: SSH2_MSG_SERVICE_ACCEPT received
  87. debug1: Authentications that can continue: publickey
  88. debug1: Next authentication method: publickey
  89. debug1: Offering RSA public key: /my/ssh/folder/myconkyuserid_rsa
  90. debug2: we sent a publickey packet, wait for reply
  91. debug1: Server accepts key: pkalg rsa-sha2-512 blen 279
  92. debug2: input_userauth_pk_ok: fp SHA256:PanRCck33pj+N8mNWoTLkaoaVudzUQlv5CTaF12SJ0Y
  93. debug1: Authentication succeeded (publickey).
  94. Authenticated to myserverip ([myserverip]:22).
  95. debug1: channel 0: new [client-session]
  96. debug2: channel 0: send open
  97. debug1: Requesting no-more-sessions@openssh.com
  98. debug1: Entering interactive session.
  99. debug1: pledge: exec
  100. debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
  101. debug2: callback start
  102. debug2: x11_get_proto: /usr/bin/xauth list :0 2>/dev/null
  103. debug1: Requesting X11 forwarding with authentication spoofing.
  104. debug2: channel 0: request x11-req confirm 1
  105. debug2: fd 3 setting TCP_NODELAY
  106. debug2: client_session2_setup: id 0
  107. debug1: Sending environment.
  108. debug1: Sending env LC_PAPER =
  109. debug2: channel 0: request env confirm 0
  110. debug1: Sending env LC_ADDRESS =
  111. debug2: channel 0: request env confirm 0
  112. debug1: Sending env LC_MONETARY =
  113. debug2: channel 0: request env confirm 0
  114. debug1: Sending env LC_NUMERIC =
  115. debug2: channel 0: request env confirm 0
  116. debug1: Sending env LC_TELEPHONE =
  117. debug2: channel 0: request env confirm 0
  118. debug1: Sending env LC_IDENTIFICATION =
  119. debug2: channel 0: request env confirm 0
  120. debug1: Sending env LANG = en_GB.UTF-8
  121. debug2: channel 0: request env confirm 0
  122. debug1: Sending env LC_MEASUREMENT =
  123. debug2: channel 0: request env confirm 0
  124. debug1: Sending env LC_TIME = en_GB.UTF-8
  125. debug2: channel 0: request env confirm 0
  126. debug1: Sending env LC_NAME =
  127. debug2: channel 0: request env confirm 0
  128. debug1: Sending command: conky -c /path/to/myconky/config
  129. debug2: channel 0: request exec confirm 1
  130. debug2: callback done
  131. debug2: channel 0: open confirm rwindow 0 rmax 32768
  132. debug2: channel_input_status_confirm: type 99 id 0
  133. debug2: X11 forwarding request accepted on channel 0
  134. debug2: channel 0: rcvd adjust 2097152
  135. debug2: channel_input_status_confirm: type 99 id 0
  136. debug2: exec request accepted on channel 0
  137. debug2: channel 0: rcvd ext data 7
  138. conky: debug2: channel 0: written 7 to efd 7
  139. debug2: channel 0: rcvd ext data 108
  140. debug2: channel 0: rcvd ext data 62
  141. Syntax error (/path/to/myconky/config:2: unexpected symbol near '#') while reading config file.
  142. conky: Assuming it's in old syntax and attempting conversion.
  143. debug2: channel 0: written 170 to efd 7
  144. debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
  145. debug1: client_request_x11: request from 127.0.0.1 36372
  146. debug2: fd 8 setting O_NONBLOCK
  147. debug1: channel 1: new [x11]
  148. debug1: confirm x11
  149. debug2: channel 0: rcvd ext data 65
  150. conky: desktop window (1a00022) is subwindow of root window (d5)
  151. debug2: channel 0: written 65 to efd 7
  152. debug2: channel 0: rcvd ext data 28
  153. conky: window type - normal
  154. debug2: channel 0: written 28 to efd 7
  155. debug2: channel 0: rcvd ext data 45
  156. conky: drawing to created window (0x5200001)
  157. debug2: channel 0: written 45 to efd 7
  158. debug2: channel 0: rcvd ext data 32
  159. conky: drawing to double buffer
  160. debug2: channel 0: written 32 to efd 7
  161. debug2: channel 0: rcvd ext data 42
  162. conky: forked to background, pid is 14055
  163. debug2: channel 0: written 42 to efd 7
  164. debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
  165. debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
  166. debug2: channel 0: rcvd eow
  167. debug2: channel 0: close_read
  168. debug2: channel 0: input open -> closed
  169. debug2: channel 1: rcvd eof
  170. debug2: channel 1: output open -> drain
  171. debug2: channel 1: obuf empty
  172. debug2: channel 1: close_write
  173. debug2: channel 1: output drain -> closed
  174. debug1: channel 1: FORCE input drain
  175. debug2: channel 1: ibuf empty
  176. debug2: channel 1: send eof
  177. debug2: channel 1: input drain -> closed
  178. debug2: channel 0: rcvd eof
  179. debug2: channel 0: output open -> drain
  180. debug2: channel 0: obuf empty
  181. debug2: channel 0: close_write
  182. debug2: channel 0: output drain -> closed
  183. debug2: channel 0: rcvd close
  184. debug2: channel 0: almost dead
  185. debug2: channel 0: gc: notify user
  186. debug2: channel 0: gc: user detached
  187. debug2: channel 0: send close
  188. debug2: channel 0: is dead
  189. debug2: channel 0: garbage collecting
  190. debug1: channel 0: free: client-session, nchannels 2
  191. debug2: channel 1: send close
  192. debug2: channel 1: rcvd close
  193. debug2: channel 1: is dead
  194. debug2: channel 1: garbage collecting
  195. debug1: channel 1: free: x11, nchannels 1
  196. Transferred: sent 16740, received 12920 bytes, in 3.8 seconds
  197. Bytes per second: sent 4378.2, received 3379.1
  198. debug1: Exit status 0
  199.  
  200. #!/bin/bash
  201. sleep 25 && (to ensure my desktop gets a chance to boot before running)
  202. conky -c ~/.conky/.conkynewrc && (my local conky session)
  203. ssh -X willconky@myserverip "conky -c /home/willconky/.conky/.conkynewrc && sleep 10" & (my remote conky session)
Add Comment
Please, Sign In to add comment