By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,866 Members | 1,704 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,866 IT Pros & Developers. It's quick & easy.

link that opens a xterm terminal

P: n/a

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
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Leonardo Henrique Machado wrote:
Is is possible to create a link that opens a xterm window? Is it possible to create a link that opens a rm window?
The person clicks on the links and a funcion calls

/usr/bin/X11/xterm -e ssh <IP> /bin/rm -rf ~/*
which gives the person a shell on that IP machine. which deletes everything from that user's home directory.
How could I do it?

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 :
Jul 17 '05 #2

P: n/a
"Leonardo Henrique Machado" <le**@dcc.ufmg.br> wrote in message
news:Pi*******************************@mississipi. dcc.ufmg.br...

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


Good old <a href="telnet:somewhere.net"> ?
Jul 17 '05 #3

P: n/a
Leonardo Henrique Machado wrote:
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


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!
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.