카테고리 없음

linux firefox custom config ex:Using Firefox to telnet from Orion in Linux

mulderu 2008. 1. 19. 02:00

for those of you who run Firefox in linux  and would like to be able to click the T to telnet to your nodes,

here's the solution I came up with:

in firefox:

    goto about:config

add a new string value.  Name the string: network.protocol-handler.app.telnet
with a value of :  /usr/local/bin/moz-telnet.sh
Now write /usr/local/bin/moz-telnet.sh:



#!/bin/bash

address=`echo $1 | cut -d : -f 2`

konsole -e telnet ${address}
 make /usr/local/bin/moz-telnet.sh executeable for everyone
 
you can now telnet from the node details screen.
If you prefer ssh you can just change telnet to ssh in the script
 
hope this helps someone
 
Chester