mercredi 15 juin 2011

Utiliser le protocole telnet au lieu de ssh pour se connecter à plusieurs switchs en même temps

Il faut avoir le programme cluster ssh installé sur votre machine et de modifier le fichier /home/.csshrc. Faites une copie de votre fichier avant de faire les modifications.


Ensuite, remplacer ssh par telnet pour obtenir ceci :

auto_quit=yes
command=
comms=telnet
console_position=
extra_cluster_file=
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
max_addhost_menu_cluster_items=6
max_host_menu_items=30
menu_host_autotearoff=0
menu_send_autotearoff=0
method=telnet
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=/home/robert/.csshrc_send_menu
show_history=0
telnet=/usr/bin/telnet
ssh_args= -x -o ConnectTimeout=10
telnet_args=
terminal=/usr/bin/xterm
terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true'
terminal_args=
terminal_bg_style=dark
terminal_colorize=1
terminal_decoration_height=10
terminal_decoration_width=8
terminal_font=6x13
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_hotkeys=yes
window_tiling=yes
window_tiling_direction=right

Aucun commentaire:

Enregistrer un commentaire