Freesco, NND, CDN, EOS

http://www.freesco.pl
Dzisiaj jest czwartek, 28 marca 2024, 21:17

Strefa czasowa UTC+2godz.




Nowy temat Odpowiedz w temacie  [ Posty: 2 ] 
Autor Wiadomość
Post: poniedziałek, 11 marca 2013, 12:24 
Offline
Użytkownik

Rejestracja: niedziela, 23 września 2007, 14:35
Posty: 477
Znacie usługę http://localtunnel.com ?

Mam potwierdzenia, że działa to na zwykłym Debianie:
http://www.elektroda.pl/rtvforum/viewto ... 6#12043426

Niestety na Raspbianie ruszyć tego nie mogę.

Ja próbowałem wykonać (za instrukcjami z tego forum)

: [/] [] ()
sudo apt-get update
sudo apt-get install -y ruby-full
sudo apt-get install -y rubygems1.8
sudo gem install localtunnel



Ja probowalem udostepnic port 22, by moc logowac sie po ssh na Raspberry.

Rezultat?

: [/] [] ()
root@raspberrypi:/home/pi# localtunnel -k ~/.ssh/id_rsa.pub 22
/var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/packet_stream.rb:103:in `block in next_packet': connection closed by remote host (Net::SSH::Disconnect)
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/packet_stream.rb:93:in `loop'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/packet_stream.rb:93:in `next_packet'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:172:in `block in poll_message'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:167:in `loop'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:167:in `poll_message'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:152:in `next_message'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb:45:in `get_parameters'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb:118:in `generate_key'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb:51:in `initialize'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/algorithms.rb:348:in `new'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/algorithms.rb:348:in `exchange_keys'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/algorithms.rb:196:in `proceed!'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/algorithms.rb:187:in `send_kexinit'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/algorithms.rb:142:in `accept_kexinit'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:189:in `block in poll_message'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:167:in `loop'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:167:in `poll_message'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:204:in `block in wait'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:202:in `loop'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:202:in `wait'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:81:in `initialize'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh.rb:186:in `new'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh.rb:186:in `start'
        from /var/lib/gems/1.9.1/gems/net-ssh-gateway-1.2.0/lib/net/ssh/gateway.rb:74:in `initialize'
        from /var/lib/gems/1.9.1/gems/localtunnel-0.3/lib/localtunnel/tunnel.rb:44:in `new'
        from /var/lib/gems/1.9.1/gems/localtunnel-0.3/lib/localtunnel/tunnel.rb:44:in `start_tunnel'
        from /var/lib/gems/1.9.1/gems/localtunnel-0.3/bin/localtunnel:47:in `<top (required)>'
        from /usr/local/bin/localtunnel:23:in `load'
        from /usr/local/bin/localtunnel:23:in `<main>'
root@raspberrypi:/home/pi#




Zdaje sie, ze cos nie zadzialalo...



Próba utworzenia tunelu dla portu 80 kończy się tym samym.

: [/] [] ()
root@raspberrypi:/home/pi# localtunnel -k ~/.ssh/id_rsa.pub 80
/var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/packet_stream.rb:103:in `block in next_packet': connection closed by remote host (Net::SSH::Disconnect)
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/packet_stream.rb:93:in `loop'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/packet_stream.rb:93:in `next_packet'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:172:in `block in poll_message'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:167:in `loop'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:167:in `poll_message'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:152:in `next_message'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/kex/diffie_hellman_group_exchange_sha1.rb:45:in `get_parameters'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb:118:in `generate_key'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/kex/diffie_hellman_group1_sha1.rb:51:in `initialize'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/algorithms.rb:348:in `new'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/algorithms.rb:348:in `exchange_keys'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/algorithms.rb:196:in `proceed!'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/algorithms.rb:187:in `send_kexinit'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/algorithms.rb:142:in `accept_kexinit'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:189:in `block in poll_message'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:167:in `loop'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:167:in `poll_message'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:204:in `block in wait'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:202:in `loop'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:202:in `wait'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh/transport/session.rb:81:in `initialize'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh.rb:186:in `new'
        from /var/lib/gems/1.9.1/gems/net-ssh-2.6.6/lib/net/ssh.rb:186:in `start'
        from /var/lib/gems/1.9.1/gems/net-ssh-gateway-1.2.0/lib/net/ssh/gateway.rb:74:in `initialize'
        from /var/lib/gems/1.9.1/gems/localtunnel-0.3/lib/localtunnel/tunnel.rb:44:in `new'


Jakieś pomysły, czemu to ruszyć nie chce?


Na górę
 Wyświetl profil  
 
Post: środa, 20 marca 2013, 19:51 
Offline
Użytkownik

Rejestracja: niedziela, 23 września 2007, 14:35
Posty: 477
Rozwiązanie:

https://groups.google.com/forum/?hl=pl& ... nG890XAEOs

Połączenia po ssh będą możliwe za jakiś czas:
https://groups.google.com/forum/#!topic ... bbN_Y5c39I

Jeśli ktoś zna inne działające rozwiązanie (poza płatnym pagekite), proszę niech się podzieli.


Na górę
 Wyświetl profil  
 
Wyświetl posty nie starsze niż:  Sortuj wg  
Nowy temat Odpowiedz w temacie  [ Posty: 2 ] 

Strefa czasowa UTC+2godz.


Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 12 gości


Nie możesz tworzyć nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz dodawać załączników

Szukaj:
Przejdź do:  
cron
Technologię dostarcza phpBB® Forum Software © phpBB Group
Hosting: Compus-Net
RobertKonik.pl