NAME
xssh - A customisable X terminal emulator
SYNOPSIS
xssh HOST
xssh --sethostattr HOST ATTRIBUTE VALUE
xssh --setextraattr NAME ATTRIBUTE VALUE
xssh --showconfig
DESCRIPTION
This program will allow you to ssh to a remote host inside a new X Terminal window (like XTerm).
The idea here is that each time you ssh to a particular host, a terminal window will be launched with a consitent customised appearance. For example, you may wish to configure 'prodserver' so that it the terminal window background is a redish colour - reminding you to tread very carefully...
EXAMPLES
First, you may like to define some defualts that will apply to all the remote servers you might log in to.
xssh --sethostattr DEFAULT scrollback 1024
xssh --sethostattr DEFAULT foreground blue
xssh --sethostattr DEFAULT background white
Then you may like to override those defaults for some specific hosts.
xssh --sethostattr favourite foreground green
xssh --sethostattr favourite background black
xssh --sethostattr favourite geometry 128x70
You may then get bored with setting all attributes for all hosts, so you might want to set up some "extra" attributes.
xssh --setextraattr prod foreground black
xssh --setextraattr prod background IndianRed
You would then define which hosts take those extra attributes.
xssh --sethostattr important extra prod
FINALLY, you can use xssh to log in to those servers
# Log in to the server "important" - you'll get a new xterm
# window with a redish background, black text, 1024 lines of
# scrollback
xssh important
# Log in to the server "unknown" - you'll get a new xterm window
# with a white background, blue text, 1024 lines of scrollback
xssh unknown
# Log in to the server "favourite" - you'll get a new xterm
# window with a black background, green text, 1024 lines of
# scrollback, and a larger terminal
xssh favourite
FILES
- $HOME/.xsshrc
-
This file contains all the configuration for xssh. It is in Config::General format.
COPYRIGHT & LICENSE
Copyright 2010 Evan Giles <egiles@capn.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.