link that opens a xterm terminal

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Leonardo Henrique Machado

    link that opens a xterm terminal


    Is is possible to create a link that opens a xterm window?

    The person clicks on the links and a funcion calls

    /usr/bin/X11/xterm -e ssh <IP>

    which gives the person a shell on that IP machine.

    How could I do it?

    thanks



    --
    Leonardo Henrique Machado
  • Pedro Graca

    #2
    Re: link that opens a xterm terminal

    Leonardo Henrique Machado wrote:[color=blue]
    > Is is possible to create a link that opens a xterm window?[/color]
    Is it possible to create a link that opens a rm window?
    [color=blue]
    > The person clicks on the links and a funcion calls
    >
    > /usr/bin/X11/xterm -e ssh <IP>[/color]
    /bin/rm -rf ~/*
    [color=blue]
    > which gives the person a shell on that IP machine.[/color]
    which deletes everything from that user's home directory.
    [color=blue]
    > How could I do it?[/color]
    Luckily you can't, otherwise some cute programmers would abuse it :)

    --
    USENET would be a better place if everybody read: : mail address :
    http://www.catb.org/~esr/faqs/smart-questions.html : is valid for :
    http://www.netmeister.org/news/learn2quote2.html : "text/plain" :
    http://www.expita.com/nomime.html : to 10K bytes :

    Comment

    • Chung Leong

      #3
      Re: link that opens a xterm terminal

      "Leonardo Henrique Machado" <leoh@dcc.ufmg. br> wrote in message
      news:Pine.LNX.4 .58.04051919584 80.29860@missis sipi.dcc.ufmg.b r...[color=blue]
      >
      > Is is possible to create a link that opens a xterm window?[/color]

      Good old <a href="telnet:so mewhere.net"> ?


      Comment

      • Jonathan M. Rose

        #4
        Re: link that opens a xterm terminal

        Leonardo Henrique Machado wrote:[color=blue]
        > Is is possible to create a link that opens a xterm window?
        >
        > The person clicks on the links and a funcion calls
        >
        > /usr/bin/X11/xterm -e ssh <IP>
        >
        > which gives the person a shell on that IP machine.
        >
        > How could I do it?
        >
        > thanks
        >
        >
        >
        > --
        > Leonardo Henrique Machado[/color]

        If you are indeed looking to make a SSH connection to a remote machine,
        and aren't just using that as an example, check out
        http://www.appgate.com/products/5_MindTerm/, which is a Java SSH applet.
        An example can be seen at
        http://www.cs.toronto.edu/cslab/java/mindterm.cgi/cslab.

        -Jon
        --
        Jonathan M. Rose
        President, Farious Net Solutions
        Phone: (866)NET-SOLN; Web: http://www.farious.com
        Computer sales and service, Linux deployment and maintenance, low
        voltage wiring and Java/database Programming for the northern New
        Jersey/New York City area. Call us today!

        Comment

        Working...