ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • ClusterSSH
    Computer/linux 2012.12.05 17:15

    Description

    ClusterSSH controls a number of xterm windows via a single graphical console window to allow commands to be interactively run on multiple servers over an ssh connection.

    at http://sourceforge.net/projects/clusterssh/

    1) Install clusterssh via aptitute install clusterssh

    2) Add the following to $HOME/.csshrc

    terminal_args = -fg green
    terminal_font = 7x14
    clusters = controls jhlee risp
    controls = ctrluser@ctrlpc1 ctrluser@ctrlsv1
    jhlee = jhlee@jhleepc

    2-1) From version 4, .csshrc was removed, the configuration was split into two files -clusters and config in ~/.clusterssh/ .  Here is the clusters file

    # Tag definitions moved from old .csshrc file
    controls ctrluser@ctrlpc1 ctrluser@ctrlsv1
    jhlee jhlee@jhleepc
    risp jhlee@halla

    And the config file is

    auto_close=5
    auto_quit=yes
    command=
    comms=ssh
    console_position=
    debug=0
    extra_cluster_file=--------/.clusterssh/clusters
    history_height=10
    history_width=40
    key_addhost=Control-Shift-plus
    key_clientname=Alt-n
    key_history=Alt-h
    key_paste=Control-v
    key_quit=Control-q
    key_retilehosts=Alt-r
    lang=en
    max_addhost_menu_cluster_items=6
    max_host_menu_items=30
    menu_host_autotearoff=0
    menu_send_autotearoff=0
    mouse_paste=Button-2
    rsh_args=
    screen_reserve_bottom=60
    screen_reserve_left=0
    screen_reserve_right=0
    screen_reserve_top=0
    send_menu_xml_file=------/.csshrc_send_menu
    show_history=0
    ssh=/usr/bin/ssh
    ssh_args=
    telnet_args=
    terminal=/usr/bin/xterm
    terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true'
    terminal_args=-fg green
    terminal_bg_style=dark
    terminal_colorize=1
    terminal_decoration_height=10
    terminal_decoration_width=8
    terminal_font=7x14
    terminal_reserve_bottom=0
    terminal_reserve_left=5
    terminal_reserve_right=0
    terminal_reserve_top=5
    terminal_size=80x24
    terminal_title_opt=-T
    title=CSSH
    unmap_on_redraw=no
    use_all_a_records=0
    use_hotkeys=yes
    window_tiling=yes
    window_tiling_direction=right

    So cssh controls will show the following

    man cssh is always useful.....

    'Computer > linux' 카테고리의 다른 글

    increase client win7 disk size on Linux  (0) 2012.12.16
    ClusterSSH  (0) 2012.12.05
    remove the window entry in grub 2 screen  (0) 2012.11.05
    BIOS update with bootable CD (Linux)  (0) 2012.09.27

    댓글 0

Designed by Tistory.