[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] forbinde t ubuntu bag android-brugt-som-mo bilt-bredbånd



Atte André Jensen <sslug@sslug> writes:
> On 2010-12-27 09:30, Jacob Bunk Nielsen wrote:
>
>> Har du en computer med fast IP-adresse? Så giv hende en genvej til at
>> lave en SSH-tunnel til din computer, så kan du let SSH'e den anden vej
>> gennem tunnellen.
>
> Jeg har siddet og rodet med det, men kan ikke få det til at virke.
> Kunne du ikke komme med et par eksempler?

På hendes computer kører du noget i retning af:
ssh -R 1234:localhost:22 <attescomputer.eksempel.dk>

På din computer kan du så ssh localhost -p 1234

Du kan naturligvis også putte det i din ~/.ssh/config som:

Host soesterscomputer
Hostname localhost
User atte
Port 1234

Så kan du i en terminal nøjes med at skrive 'ssh soesterscomputer'.

Skal hendes computer bare altid lave en tunnel når den starter (fordi du
kører support hele tiden), så kig på autossh og @reboot i hendes
crontab.

-- 
Jacob - www.bunk.cc


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2011-01-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *