Advertisement
Guest User

Untitled

a guest
Jul 21st, 2015
702
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.84 KB | None | 0 0
  1. $ ssh -L 5902:localhost:5902 User@HostName -p port
  2.  
  3. Tunnel device failed.
  4. Could not request tunnel forwarding
  5.  
  6. $ ssh -vvv -L 5902:localhost:5980 UserName@HostName -p Port
  7. OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013
  8. debug1: Reading configuration data /home/UserName/.ssh/config
  9. debug1: /home/UserName/.ssh/config line 20: Applying options for *
  10. debug1: /home/UserName/.ssh/config line 54: Applying options for *
  11. debug1: Reading configuration data /etc/ssh/ssh_config
  12. debug1: /etc/ssh/ssh_config line 20: Applying options for *
  13. debug1: /etc/ssh/ssh_config line 54: Applying options for *
  14. debug2: ssh_connect: needpriv 0
  15. debug1: Connecting to HostName [HostName] port Port.
  16. debug2: fd 3 setting O_NONBLOCK
  17. debug1: fd 3 clearing O_NONBLOCK
  18. debug1: Connection established.
  19. debug3: timeout: 499999 ms remain after connect
  20. debug1: identity file /home/UserName/.ssh/id_rsa type -1
  21. debug1: identity file /home/UserName/.ssh/id_rsa-cert type -1
  22. debug1: identity file /home/UserName/.ssh/id_dsa type -1
  23. debug1: identity file /home/UserName/.ssh/id_dsa-cert type -1
  24. debug1: identity file /home/UserName/.ssh/id_ecdsa type -1
  25. debug1: identity file /home/UserName/.ssh/id_ecdsa-cert type -1
  26. debug1: Enabling compatibility mode for protocol 2.0
  27. debug1: Local version string SSH-2.0-OpenSSH_6.4
  28. debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6
  29. debug1: match: OpenSSH_6.6 pat OpenSSH*
  30. debug2: fd 3 setting O_NONBLOCK
  31. debug3: put_host_port: [HostName]:Port
  32. debug3: load_hostkeys: loading entries for host "[HostName]:Port" from file "/home/UserName/.ssh/known_hosts"
  33. debug3: load_hostkeys: found key type ECDSA in file /home/UserName/.ssh/known_hosts:5
  34. debug3: load_hostkeys: loaded 1 keys
  35. debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
  36. debug1: SSH2_MSG_KEXINIT sent
  37. debug1: SSH2_MSG_KEXINIT received
  38. 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
  39. debug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss
  40. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
  41. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
  42. debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
  43. debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
  44. debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
  45. debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
  46. debug2: kex_parse_kexinit:
  47. debug2: kex_parse_kexinit:
  48. debug2: kex_parse_kexinit: first_kex_follows 0
  49. debug2: kex_parse_kexinit: reserved 0
  50. debug2: kex_parse_kexinit: 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,diffie-hellman-group1-sha1
  51. debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519
  52. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
  53. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-gcm@openssh.com,aes256-gcm@openssh.com,chacha20-poly1305@openssh.com,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
  54. debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
  55. debug2: kex_parse_kexinit: hmac-md5-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha1-96-etm@openssh.com,hmac-md5-96-etm@openssh.com,hmac-md5,hmac-sha1,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
  56. debug2: kex_parse_kexinit: none,zlib@openssh.com
  57. debug2: kex_parse_kexinit: none,zlib@openssh.com
  58. debug2: kex_parse_kexinit:
  59. debug2: kex_parse_kexinit:
  60. debug2: kex_parse_kexinit: first_kex_follows 0
  61. debug2: kex_parse_kexinit: reserved 0
  62. debug2: mac_setup: found hmac-md5-etm@openssh.com
  63. debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none
  64. debug2: mac_setup: found hmac-md5-etm@openssh.com
  65. debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none
  66. debug1: sending SSH2_MSG_KEX_ECDH_INIT
  67. debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
  68. debug1: Server host key: ECDSA b5:05:1a:33:1b:44:21:ae:00:37:0f:2b:24:ae:41:26
  69. debug3: put_host_port: [HostName]:Port
  70. debug3: put_host_port: [HostName]:Port
  71. debug3: load_hostkeys: loading entries for host "[HostName]:Port" from file "/home/UserName/.ssh/known_hosts"
  72. debug3: load_hostkeys: found key type ECDSA in file /home/UserName/.ssh/known_hosts:5
  73. debug3: load_hostkeys: loaded 1 keys
  74. debug3: load_hostkeys: loading entries for host "[192.168.1.69]:34500" from file "/home/UserName/.ssh/known_hosts"
  75. debug3: load_hostkeys: found key type ECDSA in file /home/UserName/.ssh/known_hosts:5
  76. debug3: load_hostkeys: loaded 1 keys
  77. debug1: Host '[HostName]:34500' is known and matches the ECDSA host key.
  78. debug1: Found key in /home/UserName/.ssh/known_hosts:5
  79. debug1: ssh_ecdsa_verify: signature correct
  80. debug2: kex_derive_keys
  81. debug2: set_newkeys: mode 1
  82. debug1: SSH2_MSG_NEWKEYS sent
  83. debug1: expecting SSH2_MSG_NEWKEYS
  84. debug2: set_newkeys: mode 0
  85. debug1: SSH2_MSG_NEWKEYS received
  86. debug1: Roaming not allowed by server
  87. debug1: SSH2_MSG_SERVICE_REQUEST sent
  88. debug2: service_accept: ssh-userauth
  89. debug1: SSH2_MSG_SERVICE_ACCEPT received
  90. debug2: key: /home/UserName/.ssh/id_rsa ((nil)),
  91. debug2: key: /home/UserName/.ssh/id_dsa ((nil)),
  92. debug2: key: /home/UserName/.ssh/id_ecdsa ((nil)),
  93. debug1: Authentications that can continue: publickey,password,keyboard-interactive
  94. debug3: start over, passed a different list publickey,password,keyboard-interactive
  95. debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
  96. debug3: authmethod_lookup publickey
  97. debug3: remaining preferred: keyboard-interactive,password
  98. debug3: authmethod_is_enabled publickey
  99. debug1: Next authentication method: publickey
  100. debug1: Trying private key: /home/UserName/.ssh/id_rsa
  101. debug3: no such identity: /home/UserName/.ssh/id_rsa: No such file or directory
  102. debug1: Trying private key: /home/UserName/.ssh/id_dsa
  103. debug3: no such identity: /home/UserName/.ssh/id_dsa: No such file or directory
  104. debug1: Trying private key: /home/UserName/.ssh/id_ecdsa
  105. debug3: no such identity: /home/UserName/.ssh/id_ecdsa: No such file or directory
  106. debug2: we did not send a packet, disable method
  107. debug3: authmethod_lookup keyboard-interactive
  108. debug3: remaining preferred: password
  109. debug3: authmethod_is_enabled keyboard-interactive
  110. debug1: Next authentication method: keyboard-interactive
  111. debug2: userauth_kbdint
  112. debug2: we sent a keyboard-interactive packet, wait for reply
  113. debug1: Authentications that can continue: publickey,password,keyboard-interactive
  114. debug3: userauth_kbdint: disable: no info_req_seen
  115. debug2: we did not send a packet, disable method
  116. debug3: authmethod_lookup password
  117. debug3: remaining preferred:
  118. debug3: authmethod_is_enabled password
  119. debug1: Next authentication method: password
  120. UserName@HostName's password:
  121. debug3: packet_send2: adding 48 (len 68 padlen 12 extra_pad 64)
  122. debug2: we sent a password packet, wait for reply
  123. debug1: Authentication succeeded (password).
  124. Authenticated to HostName ([192.168.1.69]:34500).
  125. debug1: Local connections to LOCALHOST:5902 forwarded to remote address localhost:5980
  126. debug3: channel_setup_fwd_listener: type 2 wildcard 0 addr NULL
  127. debug3: sock_set_v6only: set socket 4 IPV6_V6ONLY
  128. debug1: Local forwarding listening on ::1 port 5902.
  129. debug2: fd 4 setting O_NONBLOCK
  130. debug3: fd 4 is O_NONBLOCK
  131. debug1: channel 0: new [port listener]
  132. debug1: Local forwarding listening on 127.0.0.1 port 5902.
  133. debug2: fd 5 setting O_NONBLOCK
  134. debug3: fd 5 is O_NONBLOCK
  135. debug1: channel 1: new [port listener]
  136. debug1: Requesting tun unit 2147483647 in mode 1
  137. debug1: sys_tun_open: failed to configure tunnel (mode 1): Operation not permitted
  138. Tunnel device open failed.
  139. Could not request tunnel forwarding.
  140. debug1: channel 2: new [client-session]
  141. debug3: ssh_session2_open: channel_new: 2
  142. debug2: channel 2: send open
  143. debug1: Requesting no-more-sessions@openssh.com
  144. debug1: Entering interactive session.
  145. debug2: callback start
  146. debug2: fd 3 setting TCP_NODELAY
  147. debug3: packet_set_tos: set IP_TOS 0x10
  148. debug2: client_session2_setup: id 2
  149. debug2: channel 2: request pty-req confirm 1
  150. debug1: Sending environment.
  151. debug3: Ignored env XDG_VTNR
  152. debug3: Ignored env DREAL_TECHNO_NAME
  153. debug3: Ignored env MANPATH
  154. debug3: Ignored env VH_PATSFX
  155. debug3: Ignored env SSH_AGENT_PID
  156. debug3: Ignored env KDE_MULTIHEAD
  157. debug3: Ignored env TPD_GLOBAL
  158. debug3: Ignored env XDG_SESSION_ID
  159. debug3: Ignored env DM_CONTROL
  160. debug3: Ignored env HOSTNAME
  161. debug3: Ignored env IMSETTINGS_INTEGRATE_DESKTOP
  162. debug3: Ignored env GPG_AGENT_INFO
  163. debug3: Ignored env MBK_IN_PH
  164. debug3: Ignored env TERM
  165. debug3: Ignored env SHELL
  166. debug3: Ignored env XDG_MENU_PREFIX
  167. debug3: Ignored env XSCH_PARAM_NAME
  168. debug3: Ignored env HISTSIZE
  169. debug3: Ignored env XDM_MANAGED
  170. debug3: Ignored env GTK2_RC_FILES
  171. debug3: Ignored env KONSOLE_DBUS_SERVICE
  172. debug3: Ignored env KONSOLE_PROFILE_NAME
  173. debug3: Ignored env VH_MAXERR
  174. debug3: Ignored env GTK_RC_FILES
  175. debug3: Ignored env GS_LIB
  176. debug3: Ignored env WINDOWID
  177. debug3: Ignored env QTDIR
  178. debug3: Ignored env RDS_OUT
  179. debug3: Ignored env GNOME_KEYRING_CONTROL
  180. debug3: Ignored env QTINC
  181. debug3: Ignored env SHELL_SESSION_ID
  182. debug3: Ignored env XFSM_PARAM_NAME
  183. debug3: Ignored env ALLIANCE_TOP
  184. debug3: Ignored env GRAAL_TECHNO_NAME
  185. debug3: Ignored env KDE_FULL_SESSION
  186. debug3: Ignored env TPD_LOCAL
  187. debug3: Ignored env IMSETTINGS_MODULE
  188. debug3: Ignored env QT_GRAPHICSSYSTEM_CHECKED
  189. debug3: Ignored env USER
  190. debug3: Ignored env LS_COLORS
  191. debug3: Ignored env LD_LIBRARY_PATH
  192. debug3: Ignored env SSH_AUTH_SOCK
  193. debug3: Ignored env SESSION_MANAGER
  194. debug3: Ignored env DESKTOP_SESSION
  195. debug3: Ignored env PATH
  196. debug3: Ignored env MAIL
  197. debug3: Ignored env MBK_SCALE_X
  198. debug3: Ignored env QT_IM_MODULE
  199. debug3: Ignored env MBK_CATAL_NAME
  200. debug3: Ignored env PWD
  201. debug1: Sending env XMODIFIERS = @im=none
  202. debug2: channel 2: request env confirm 0
  203. debug3: Ignored env KONSOLE_DBUS_WINDOW
  204. debug3: Ignored env MBK_OUT_PH
  205. debug1: Sending env LANG = en_US.UTF-8
  206. debug2: channel 2: request env confirm 0
  207. debug3: Ignored env KDE_IS_PRELINKED
  208. debug3: Ignored env GNOME_KEYRING_PID
  209. debug3: Ignored env KDE_SESSION_UID
  210. debug3: Ignored env GENVIEW_TECHNO_NAME
  211. debug3: Ignored env RDS_IN
  212. debug3: Ignored env MBK_SPI_MODEL
  213. debug3: Ignored env KDEDIRS
  214. debug3: Ignored env MBK_OUT_LO
  215. debug3: Ignored env KONSOLE_DBUS_SESSION
  216. debug3: Ignored env MBK_VSS
  217. debug3: Ignored env HISTCONTROL
  218. debug3: Ignored env VH_BEHSFX
  219. debug3: Ignored env SSH_ASKPASS
  220. debug3: Ignored env GPG_TTY
  221. debug3: Ignored env COLORFGBG
  222. debug3: Ignored env SHLVL
  223. debug3: Ignored env XDG_SEAT
  224. debug3: Ignored env HOME
  225. debug3: Ignored env KDE_SESSION_VERSION
  226. debug1: Sending env LANGUAGE =
  227. debug2: channel 2: request env confirm 0
  228. debug3: Ignored env MBK_C4_LIB
  229. debug3: Ignored env MBK_VDD
  230. debug3: Ignored env MBK_TARGET_LIB
  231. debug3: Ignored env XCURSOR_THEME
  232. debug3: Ignored env RDS_TECHNO_NAME
  233. debug3: Ignored env LOGNAME
  234. debug3: Ignored env VH_DLYSFX
  235. debug3: Ignored env QTLIB
  236. debug3: Ignored env CVS_RSH
  237. debug3: Ignored env DBUS_SESSION_BUS_ADDRESS
  238. debug3: Ignored env XDG_DATA_DIRS
  239. debug3: Ignored env MBK_IN_LO
  240. debug3: Ignored env LESSOPEN
  241. debug3: Ignored env MBK_WORK_LIB
  242. debug3: Ignored env XPAT_PARAM_NAME
  243. debug3: Ignored env WINDOWPATH
  244. debug3: Ignored env PROFILEHOME
  245. debug3: Ignored env XDG_RUNTIME_DIR
  246. debug3: Ignored env DISPLAY
  247. debug3: Ignored env QT_PLUGIN_PATH
  248. debug3: Ignored env XDG_CURRENT_DESKTOP
  249. debug3: Ignored env GTK_IM_MODULE
  250. debug3: Ignored env ELP_TECHNO_NAME
  251. debug3: Ignored env MBK_CATA_LIB
  252. debug3: Ignored env CCACHE_HASHDIR
  253. debug3: Ignored env XAUTHORITY
  254. debug3: Ignored env _
  255. debug2: channel 2: request shell confirm 1
  256. debug2: callback done
  257. debug2: channel 2: open confirm rwindow 0 rmax 32768
  258. debug2: channel_input_status_confirm: type 99 id 2
  259. debug2: PTY allocation request accepted on channel 2
  260. debug2: channel 2: rcvd adjust 2097152
  261. debug2: channel_input_status_confirm: type 99 id 2
  262. debug2: shell request accepted on channel 2
  263. Last login: Tue Apr 15 07:37:45 2014 from HostName.lan
  264. ____________________, ______________________________________
  265. .QQQQQQQQQQQQQQQQQQQQQQQQL_ | |
  266. .gQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ__ | |
  267. gQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ== | _.---.) |
  268. QQQQQQQQQQQQQQQQQQQQQQQQQQQF= | (^--^)_.-" `; |
  269. QQQQQQQQQ================! | ) ee ( | |
  270. QQQQQQQQ | (_.__._) / |
  271. QQQQQQQQ | `--', ,' |
  272. QQQQQQQQ ~"jjj__, | jgs )_|--')_| |
  273. QQQQQQQQ "jjjjjjjjjj___ | ""' ""' |
  274. QQQQQQQQ ~jjjjjjjjjjjjjjjjj__ | |
  275. QQQQQQQQ _jjjjjjjjjjjjjj/~~~~ | The Hippo says: Welcome to |
  276. QQQQQQQQ .{jjjjjjj/~~~~~ | _ |
  277. QQQQQQQQ .{/~~~~` | ____ _ _ ____ _ _ _ (_) ____ |
  278. QQQQQQQQ | / ___)| | | | / _ || | | || || _ |
  279. QQQQQQQQ |( (___ | |_| |( (_| || | | || || | | ||
  280. QQQQQQQQQL_______________, | ____) __ | ___ | ___/ |_||_| |_||
  281. QQQQQQQQQQQQQQQQQQQQQQQQQQQL___ | (___/ (____| |
  282. 4QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ___ | |
  283. (=QQQQQQQQQQQQQQQQQQQQQQQQQQQQQ==== | -.-. -.-- --. .-- .. -. |
  284. (QQQQQQQQQQQQQQQQQQQQQQQQF= |______________________________________|
  285.  
  286.  
  287. UserName@HostName ~
  288. $
  289.  
  290. man ssh
  291.  
  292. 5902:localhost:5902
  293.  
  294. ${FROM_PORT}:localhost:${TO_PORT}
  295.  
  296. ${LOCAL_PORT}:${REMOTE_HOST}:${REMOTE_PORT}
  297.  
  298. ssh user@localhost -p ${REMOTE_PORT}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement