Find the answer to your Linux question:
Results 1 to 3 of 3
At the moment when a user wants to start a Program on his box he has to Click and icon. That icon shows a Terminal that connects using ssh -2 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429

    Tunnel Apps with Button


    At the moment when a user wants to start a Program on his box he has to Click and icon. That icon shows a Terminal that connects using ssh -2 -c blowfish -x UserID@appserver
    And then they have to type in the Terminal the program they want to run.
    Like firefox or ooffice.
    I want to get rid of that. Since lots of people forget the names or new users get scared or they can run rm -rf.
    So is there a way to run the ssh tunnel of the background (eg invisible) and make it posible to make a button on the Desktop that connects using ssh and then enters the firefox command.
    I tryed a couple of things already.
    eg:
    ssh -2 -c blowfish -x UserID@appserver firefox
    ssh -2 -c blowfish -x UserID@appserver & firefox
    ssh -2 -c blowfish -x UserID@appserver &&firefox
    ssh -2 -c blowfish -x UserID@appserver &|& firefox
    ssh -2 -c blowfish -x UserID@appserver | firefox
    firefox | ssh -2 -c blowfish -x UserID@appserver

    But none worked.
    So how to do this?

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  2. #2
    Linux Newbie
    Join Date
    Sep 2007
    Posts
    164
    Hi Robin.

    I think you have it almost right in your first try: for me,
    Code:
    ssh -X user@hostname.domain.com mozilla
    works. Which is to say it runs mozilla on hostname and sends the
    X11 output to the box in front of me. Notice the capital -X which
    enables X forwarding, while -x disables it.

    Cheers, kai

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    So my only mistake was the small x??

    Thanks Ill try it as soon as I can

    Cheers
    New Users, please read this..
    Google first, then ask..

Posting Permissions

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