+ Post New Thread
Results 1 to 14 of 14
*nix Thread, SSH To Remote Computer in Technical; Not sure if this is the correct forum !. With my daughter going to uni next weekend with her Linux ...
  1. #1
    tickmike's Avatar
    Join Date
    Jul 2006
    Location
    South Derbyshire. U.K.
    Posts
    368
    Thank Post
    5
    Thanked 3 Times in 3 Posts
    Rep Power
    17

    SSH To Remote Computer

    Not sure if this is the correct forum !.

    With my daughter going to uni next weekend with her Linux laptop I need to be able to access it remotely from our Linux desktop machines at home to solve any problems with her laptop.

    I wanted advice how do I set up a remote 'ssh -X user@remotehost' session when the remote computers incoming traffic is NATed so is by default not reachable ?.

    I can use an ssh remote connection to her laptop ok on our home network.

    Any urgent advice please.
    Last edited by tickmike; 10th September 2012 at 12:58 AM.

  2. #2

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    If it's on a Uni provided connection then you have no chance. If it's on Private DSL then you will need to have a static IP or DynDNS. And once you have an IP port forward the external port on the router to the laptop. Use a non standard port on the router forwarding to the SSH port on the laptop.

    Rob

  3. #3
    tickmike's Avatar
    Join Date
    Jul 2006
    Location
    South Derbyshire. U.K.
    Posts
    368
    Thank Post
    5
    Thanked 3 Times in 3 Posts
    Rep Power
    17
    Quote Originally Posted by twin--turbo View Post
    If it's on a Uni provided connection then you have no chance. If it's on Private DSL then you will need to have a static IP or DynDNS. And once you have an IP port forward the external port on the router to the laptop. Use a non standard port on the router forwarding to the SSH port on the laptop.

    Rob
    Hi Rob that is a good point it will be on a different internet connection from the uni in her Private halls of resident, I will have to find out what there policy is for connections.

  4. #4
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    40

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,820
    Thank Post
    110
    Thanked 590 Times in 511 Posts
    Blog Entries
    1
    Rep Power
    226
    you can tunnel anything over SSH, I'd suggest VNC so you end up in the same session as her.

    Using VNC with SSH

    But tunnelling the X Server will also work.

    Run remote X applications over network using ssh

  6. #6


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,684
    Thank Post
    279
    Thanked 784 Times in 611 Posts
    Rep Power
    224
    Yeah, I'd suggest daughter starts the ssh session via port 443 or 80 back to you and then you use that to tunnel whatever over it, since it's probably easier for you to ensure an incoming ssh connection hits the right machine than vice versa.

  7. #7

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    2,028
    Thank Post
    120
    Thanked 513 Times in 347 Posts
    Blog Entries
    2
    Rep Power
    288
    Try Teamviewer. It's free for non-commercial use and has Windows and Linux clients.

    TeamViewer - Free Remote Control, Remote Access & Online Meetings

    RPM and DEB files here:
    Free TeamViewer Download for Linux

  8. #8
    tickmike's Avatar
    Join Date
    Jul 2006
    Location
    South Derbyshire. U.K.
    Posts
    368
    Thank Post
    5
    Thanked 3 Times in 3 Posts
    Rep Power
    17
    Quote Originally Posted by tickmike View Post
    Hi Rob that is a good point it will be on a different internet connection from the uni in her Private halls of resident, I will have to find out what there policy is for connections.
    She has 'Chromium' Web browser is that the same ?.

  9. #9
    tickmike's Avatar
    Join Date
    Jul 2006
    Location
    South Derbyshire. U.K.
    Posts
    368
    Thank Post
    5
    Thanked 3 Times in 3 Posts
    Rep Power
    17
    Quote Originally Posted by pete View Post
    Yeah, I'd suggest daughter starts the ssh session via port 443 or 80 back to you and then you use that to tunnel whatever over it, since it's probably easier for you to ensure an incoming ssh connection hits the right machine than vice versa.
    Yes I was thinking down those lines .
    I have not had any feedback from the uni IT 'Lincoln' uk or Halls yet but I suspect that the Halls (private halls !) are NATed .
    The uni is NATed.
    I do have at home a set of public IP Addresses and I have already set up an automatic backup system on her laptop that uses port 22xx, This port on Egress from the uni is Not restricted, So could I use that and not 443 or 80 ?.
    I wanted mainly to use this connection for maintenance of her laptop.

    Any advice on using a reverse ssh connection please, how does that work ?. not done that before.
    Last edited by tickmike; 10th September 2012 at 03:57 PM.

  10. #10

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,820
    Thank Post
    110
    Thanked 590 Times in 511 Posts
    Blog Entries
    1
    Rep Power
    226
    You can tunnel SSH over HTTPS with Corkscrew.

    corkscrew

  11. #11
    tickmike's Avatar
    Join Date
    Jul 2006
    Location
    South Derbyshire. U.K.
    Posts
    368
    Thank Post
    5
    Thanked 3 Times in 3 Posts
    Rep Power
    17
    I have been using 'TeamViewer' on some test machines over our home network and it seems to work ok.
    But can you use it over the internet ? If so how does it find the correct remote computer as I could not see any remote setting up details.
    Is it safe to use ?
    Last edited by tickmike; 11th September 2012 at 09:37 PM.

  12. #12

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    2,028
    Thank Post
    120
    Thanked 513 Times in 347 Posts
    Blog Entries
    2
    Rep Power
    288
    It seems to work along the lines of both machines routing through TeamViewer's company servers, with a pre-defined user ID and password identifying both parties. Otherwise, you'd be back to DIY routing and NATing problems.

    I can't vouch for the details, but they make a point of their security.
    TeamViewer Security

  13. #13


    Join Date
    Feb 2007
    Location
    51.403651, -0.515458
    Posts
    9,421
    Thank Post
    243
    Thanked 2,827 Times in 2,086 Posts
    Rep Power
    815
    Quote Originally Posted by tickmike View Post
    But can you use it over the Internet?
    It definitely works over the Internet. I used it last week.

    Quote Originally Posted by tickmike View Post
    how does it find the correct remote computer
    TeamViewer's servers act as an intermediary between your PC and your daughters. The diagram below is for LogMeIn, but TeamViewer works the same way.


  14. #14
    tickmike's Avatar
    Join Date
    Jul 2006
    Location
    South Derbyshire. U.K.
    Posts
    368
    Thank Post
    5
    Thanked 3 Times in 3 Posts
    Rep Power
    17
    I will give my thanks to you all.

    I found this out on there website.

    How secure is TeamViewer?

    All TeamViewer versions use full encryption. Encryption is based on 1024bit RSA private/public key exchange and 256 Bit AES session encoding. This uses the same security level as https/SSL and is considered completely safe by today's standards. The key exchange also guarantees that the data channel is completely encoded from client to client and that any routers or servers in between (including our routers) are unable to read or analyze the data stream. Security and privacy have always been a top priority during development.
    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    The linux version is just a 'windows' one and they just use 'wine' !, as I use PCLinuxOS it was in 'Synaptic' and installed with ease, the only thing I could not get to work was the webcams for VOIP !.

    They do seem to collect an lot of info of your computer looking at some of the config files, what do they do with that .

SHARE:
+ Post New Thread

Similar Threads

  1. Script to remotely lock a computer screen
    By mac_shinobi in forum Scripts
    Replies: 15
    Last Post: 22nd August 2012, 12:50 AM
  2. Connecting to a remote computer using VBScript
    By umass in forum Windows Server 2008
    Replies: 1
    Last Post: 5th October 2011, 09:14 AM
  3. vbs to write to mySQL on remote computer
    By ChrisP in forum Coding
    Replies: 4
    Last Post: 19th December 2007, 11:18 AM
  4. Replies: 21
    Last Post: 11th July 2006, 07:37 PM
  5. Copy 2 files to every computer on the network
    By dezt in forum How do you do....it?
    Replies: 7
    Last Post: 5th July 2006, 11:43 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •