Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

http tunneling und ssh

Empfohlene Antworten

Veröffentlicht

Hallo Jungs und Mädls,

ich möchte ja von überall aus auf meinen rechner daheim zugreifen können, (per ssh) auch wenn man nur über einen HTTP-Proxy ins Internet kommt. Ich weiß ich sollte vorher den Admin informieren ... hab mir schon ein paar threads dazu durchgelesen

mein problem is folgendes:

devil# hts -F localhost:22 8888

devil# htc -F 2222 -P 192.168.0.1:3128 devil.bounceme.net:8888

devil# ssh -v -g -p 2222 jj@localhost

OpenSSH_2.9 FreeBSD localisations 20020307, SSH protocols 1.5/2.0, OpenSSL 0x0090601f

debug1: Reading configuration data /etc/ssh/ssh_config

debug1: Applying options for *

debug1: Rhosts Authentication disabled, originating port will not be trusted.

debug1: restore_uid

debug1: ssh_connect: getuid 0 geteuid 0 anon 1

debug1: Connecting to localhost.darhorm [127.0.0.1] port 2222.

debug1: temporarily_use_uid: 0/0 (e=0)

debug1: restore_uid

debug1: temporarily_use_uid: 0/0 (e=0)

debug1: restore_uid

debug1: Connection established.

debug1: read PEM private key done: type DSA

debug1: identity file /root/.ssh/identity type 0

debug1: identity file /root/.ssh/id_rsa type -1

debug1: identity file /root/.ssh/id_dsa type -1

ssh_exchange_identification: Connection closed by remote host

debug1: Calling cleanup 0x8059d60(0x0)

in meiner hosts.allow ist "sshd sshd1 sshd2 : ALL : ALLOW" eingetragen an dem kann´s nicht liegen. weiß wer bescheid?

danke

ciao

r~~t

  • Autor

rege teilnahme ;)

ich hab da nochwas in den messages gefunden:

Dec 4 01:05:13 devil htc[538]: htc (httptunnel) 3.3 started with arguments:

Dec 4 01:05:13 devil htc[538]: me = htc

Dec 4 01:05:13 devil htc[538]: device = (null)

Dec 4 01:05:13 devil htc[538]: host_name = devil.bounceme.net

Dec 4 01:05:13 devil htc[538]: host_port = 8888

Dec 4 01:05:13 devil htc[538]: proxy_name = 192.168.0.1

Dec 4 01:05:13 devil htc[538]: proxy_port = 3128

Dec 4 01:05:13 devil htc[538]: proxy_buffer_size = 0

Dec 4 01:05:13 devil htc[538]: proxy_buffer_timeout = -1

Dec 4 01:05:13 devil htc[538]: content_length = 102400

Dec 4 01:05:13 devil htc[538]: forward_port = 2222

Dec 4 01:05:13 devil htc[538]: max_connection_age = 300

Dec 4 01:05:13 devil htc[538]: use_std = 0

Dec 4 01:05:13 devil htc[538]: strict_content_length = 0

Dec 4 01:05:13 devil htc[538]: keep_alive = 5

Dec 4 01:05:13 devil htc[538]: proxy_authorization = (null)

Dec 4 01:05:13 devil htc[538]: user_agent = (null)

Dec 4 01:05:13 devil htc[538]: debug_level = 0

Dec 4 01:05:21 devil htc[538]: tunnel_write_data: write error: Broken pipe

Dec 4 01:05:21 devil htc[538]: couldn't open tunnel: Broken pipe

Dec 4 01:05:21 devil htc[538]: exit with status = 1

vielleicht kann das ja wer auswerten und mir sagen wo das prob liegt?!

ciao

r##t

  • Autor

wenn ich versuche ftp zu tunneln

bringt er fast die gleiche fehlermeldung (in den messages) blos zum schluss steht da noch

......

Dec 4 17:23:03 devil htc[289]: debug_level = 0

Dec 4 17:23:11 devil htc[289]: tunnel_in_connect: HTTP error 403

Dec 4 17:23:11 devil htc[289]: http_error_to_errno: 403 forbidden

Dec 4 17:23:11 devil htc[289]: couldn't open tunnel: Permission denied

Dec 4 17:23:11 devil htc[289]: exit with status = 1

liegts vielleicht am squid bzw. den einstellungen vom squid?

irgendwer muss doch das schon mal gemacht haben! oder? :confused:

ciao

r%t

  • Autor

so jetzt gehts! es ist am squid gelegen:

hab noch extra den port (8888) freigeben müssen

acl Safe_ports port 80 21 443 8888

und noch zusätzlich ein eigenes acl-object für die lokale-maschine da ich immer am gleichen rechner den ht-server und den ht-client und den squid, zum testen am laufen gehabt habe.

acl devil src 192.168.0.1

http_access allow devil

danke für eure hilfe :bimei hehe

naja das nächste mal wenn wer so ein problem hat dann sieht er wenigstens meinen thread,

deswegen hab ich jetzt noch die lösung meines problems gepostet.

cu

r%t

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.