CSFTP(1)

πŸ’– CSFTP(1) β€” like, the csftp manual page, but make it make sense πŸ’–

User Contributed Perl Documentation Β· CSFTP(1)

okay bestie, pull up a chair, we're reading the csftp man page together and honestly? it's giving cluster-admin main character energy πŸ‘‘


✨ NAME ✨

csftp β€” Cluster administration tool πŸ› οΈ


🌸 VERSION 🌸

This documentation is for version: 4.19


πŸ¦‹ SYNOPSIS πŸ¦‹

csftp [-a '<command>'] [-K <seconds>] [-q] [-c '<filename>'] [-x <cols>]
[-C s@] [--debug [[...] || <INTEGER>]] [-d] [-e
'<[user@]<host>[:port]>'] [--fillscreen] [-f '<font>'] [-h] [-L '[tag]']
[-M '<font>'] [-H] [--no-autoclose] [-o '<STRING>'] [-p <port>] [-P]
[-Q] [-y <rows>] [-s] [-r '<filename>'] [-t '<STRING>'] [-g] [-T
'<title>'] [-u] [-?] [-A] [-l '<username>'] [-v]

Also see the individual man pages for each of these utilities β€” they're the sibling squad, fr fr:

  • ccon β€” Use 'console' as the communication method
  • crsh β€” Use 'rsh' as the communication method
  • cssh β€” Use 'ssh' as the communication method
  • ctel β€” Use 'telnet' as the communication method

🌈 DESCRIPTION 🌈

So like. The command opens an administration console and an xterm to all specified hosts. Anything you type into the administration console gets replicated to every single window. And yes, you can also just type directly into any individual window if you're feeling spicy. πŸ’…

This tool is intended for (but not limited to) cluster administration β€” y'know, when the same configuration or commands have to be run on every node in the cluster. Doing it all at once through this tool is literally how you keep all your nodes in sync. No cap. ✨

Connections are opened using sftp, which must be correctly installed and configured. (yes, actually installed. it can't manifest out of vibes.)

⚠️ Extra caution should be taken when editing files as lines may not necessarily be in the same order; assuming line 5 is the same across all servers and modifying that is dangerous. It's better to search for the specific line to be changed and double-check all terminals are as expected before changes are committed. like PLEASE double check, this is the part that ruins your week 😭

πŸŽ€ Further Notes πŸŽ€

Please also see "KNOWN BUGS".

  • The dotted line on any sub-menu is a tear-off, i.e. click on it and the sub-menu is turned into its own window. πŸͺŸ
  • Unchecking a hostname on the Hosts sub-menu will unplug the host from the cluster control window, so any text typed into the console is not sent to that host. Re-selecting it will plug it back in. πŸ”Œ
  • If your window manager menu bars are obscured by terminal windows see the "screen_reserve_XXXXX" options in the $HOME/.clusterssh/config file (see "FILES").
  • If the terminals overlap too much see the "terminal_reserve_XXXXX" options in the $HOME/.clusterssh/config file (see "FILES").
  • When using ClusterSSH on a large number of systems to connect to a single system using an SSH utility (e.g. you issue a command to to copy a file using scp from the remote computers to a single host) and when these connections require authentication (i.e. you are going to authenticate with a password), the sshd daemon at that location may refuse connections after the number "MaxStartups" limit in sshd_config is exceeded. (If this value is not set, it defaults to 10). This is expected behavior; sshd uses this mechanism to prevent DoS attacks from unauthenticated sources. Please tune sshd_config and reload the SSH daemon, or consider using the ~/.ssh/authorized_keys mechanism for authentication if you encounter this problem. πŸ›‘οΈ
  • If client windows fail to open, try running:
csftp -e {single host name}

This will test the mechanisms used to open windows to hosts. This could be due to either the "-xrm" terminal option which enables "AllowSendEvents" (some terminals do not require this option, other terminals have another method for enabling it β€” see your terminal documentation) or the configuration of "sftp".


✨ OPTIONS ✨

Some of these options may also be defined within the configuration file. Default options are shown as appropriate. πŸ‘‡

  • --action '<command>', -a '<command>' β€” Run the command in each session, e.g. "-a 'vi /etc/hosts'" to drop straight into a vi session. πŸ–ŠοΈ
  • --autoclose <seconds>, -K <seconds> β€” Number of seconds to wait before closing finished terminal windows. ⏳
  • --autoquit, -q β€” Toggle automatically quitting after the last client window has closed (overriding the config file).
  • --cluster-file '<filename>', -c '<filename>' β€” Use supplied file as additional cluster file (see also "FILES").
  • --cols <cols>, -x <cols> β€” Number of columns.
  • --config-file s@, -C s@ β€” Use supplied file as additional configuration file (see also "FILES"). This option may be repeated and files are loaded in the order given.
  • --debug [[...] || <INTEGER>] β€” Enable debugging. Either a level can be provided or the option can be repeated multiple times. Maximum level is 9. πŸ›
  • --dump-config, -d β€” Dump the current configuration in the same format used by the $HOME/.clusterssh/config file.
  • --evaluate '<[user@]<host>[:port]>', -e '<[user@]<host>[:port]>' β€” Display and evaluate the terminal and connection arguments to display any potential errors. The <hostname> is required to aid the evaluation. πŸ”
  • --fillscreen β€” Resize terminal windows to fill the whole available screen.
  • --font '<font>', -f '<font>' β€” Specify the font to use in the terminal windows. Use standard X font notation such as "5x8".
  • --help, -h β€” Show basic help text and exit.
  • --list '[tag]', -L '[tag]' β€” List available cluster tags. Tag is optional. If a tag is provided then hosts for that tag are listed. NOTE: format of output changes when using "--quiet" or "-Q" option.
  • --main-window-font '<font>', -M '<font>' β€” Specify the font to use in the main console window. Use Tk font notation such as "sans 14 bold".
  • --man, -H β€” Show full help text (the man page) and exit.
  • --no-autoclose β€” Do not close terminal windows automatically (same as auto_close = 0).
  • --options '<STRING>', -o '<STRING>' β€” Specify arguments to be passed to ssh when making the connection. NOTE: options for ssh should normally be put into the ssh configuration file; see "ssh_config" and $HOME/.ssh/config for more details.

Default: -x -o ConnectTimeout=10

  • --port <port>, -p <port> β€” Specify an alternate port for connections.
  • --preserve-host-order, -P β€” Display and tile hosts in the order given on the command line instead of alphabetically.
  • --quiet, -Q β€” Do not output extra text when using some options. 🀫
  • --rows <rows>, -y <rows> β€” Number of rows.
  • --show-history, -s β€” Show history within console window.
  • --tag-file '<filename>', -r '<filename>' β€” Use supplied file as additional tag file (see also "FILES").
  • --term-args '<STRING>', -t '<STRING>' β€” Specify arguments to be passed to terminals being used.
  • --tile, -g β€” Toggle window tiling (overriding the config file). 🧩
  • --title '<title>', -T '<title>' β€” Specify the initial part of the title used in the console and client windows.
  • --unique-servers, -u β€” Toggle connecting to each host only once when a hostname has been specified multiple times.
  • --usage, -? β€” Show synopsis and exit.
  • --use-all-a-records, -A β€” If a hostname resolves to multiple IP addresses, toggle whether or not to connect to all of them, or just the first one (see also config file entry).
  • --username '<username>', -l '<username>' β€” Specify the default username to use for connections (if different from the currently logged in user). NOTE: will be overridden by <user>@<host>. πŸ™ˆ
  • --version, -v β€” Show version information and exit.

🌸 ARGUMENTS 🌸

The following arguments are supported:

  • [user@]<hostname>[:port] ... β€” Open an xterm to the given hostname and connect to the administration console. The optional port number can be used if the server is not listening on the standard port.
  • <tag> ... β€” Open a series of xterms defined by <tag> in one of the supplementary configuration files (see "FILES").

Note: specifying a username on a cluster tag will override any usernames defined in the cluster.


πŸŽ€ KEY SHORTCUTS πŸŽ€

The following key shortcuts are available within the console window, and all of them may be changed via the configuration files. Keyboard girlies, this one's for you πŸ’…

  • Control-Shift-plus β€” Open the 'Add Host(s) or Cluster(s)' dialogue box. Multiple host or cluster names can be entered, separated by spaces.
  • Alt-n β€” Paste in the hostname part of the specific connection string to each client, minus any username or port, e.g.
scp /etc/hosts server:files/<Alt-n>.hosts

would replace the <Alt-n> with the client's name in each window.

  • Alt-l β€” Paste in the hostname of the server cssh is being run on.
  • Alt-q β€” Quit the program and close all connections and windows.
  • Alt-r β€” Retile all the client windows.
  • Alt-u β€” Paste in the username for the connection.
  • Alt-1
  • Alt-2
  • Alt-3
  • Alt-4 β€” Run the matching user defined macro on the server and send the output to the client.

🌈 EXAMPLES 🌈

Open up a session to 3 servers

$ csftp server1 server2 server3

Open up a session to a cluster of servers identified by the tag 'farm1' and give the controlling window a specific title, where the tag is defined in one of the default configuration files

$ csftp -T 'Web Farm Cluster 1' farm1

Connect to different servers using different login names. NOTE: this can also be achieved by setting up appropriate options in the configuration files. Do not close the console when the last terminal exits.

$ csftp user1@server1 admin@server2

Open up a cluster defined in a non-default configuration file

$ csftp -c $HOME/cssh.extra_clusters db_cluster

Override the configured/default port to use 2022 instead

$ csftp -p 2022 server1 server2

Load multiple extra configuration files; later files override earlier ones

$ csftp -C ssh -C right server1 server2

πŸ’œ FILES πŸ’œ

  • /etc/clusters, $HOME/.clusterssh/clusters β€” These files contain a list of tags to server names mappings. When any name is used on the command line it is checked to see if it is a tag. If it is a tag, then the tag is replaced with the list of servers. The format is as follows:
<tag> [user@]<server>[:port] [user@]<server>[:port] [...]

e.g.

# List of servers in live
live admin1@server1 admin2@server2:2022 server3 server4

All comments (marked by a #) and blank lines are ignored. Tags may be nested, but be aware of using recursive tags as they are not checked for. 😬

Servers can be defined using expansion macros:

"webservers websvr{a,b,c}"

would be expanded to

"webservers websvra websvrb websvrc"

and

"webservers websvr{6..9}"

would be expanded to

           "webservers websvr6 websvr7 websvr8 websvr9"

that last one is literally just the tag and then all its little host babies, no cap πŸ’…

You can also drop in extra cluster files if you want β€” either as a command-line option (peep cluster-file) or tucked into your $HOME/.clusterssh/config file (that's the extra_cluster_file config option, we'll get to it).

⚠️ NOTE: the last tag that gets read just overwrites any tag that already had that name. Like, gone. Bye. 🫢
✨ NOTE: there's a special cluster tag called default β€” anything tagged or hosted inside it opens automatically if you don't put anything on the command line. It's giving main character energy, fr.

πŸ¦‹ /etc/tags, $HOME/.clusterssh/tags

Okay so this is basically the clusters files but flipped β€” the definition is reversed. The format is:

<host> <tag> [...]

The way this works is one single host gets listed as a member of a whole bunch of tags. Honestly? This format can be way clearer than doing clusters files. 😌

You can also point at extra tag files either as an option (see tag-file) or inside your $HOME/.clusterssh/config file (that's the extra_tag_file config option).

πŸ’– NOTE: All tags are added together. All of them. Every single one.

🌸 /etc/csshrc & $HOME/.clusterssh/config

This file is where your config overrides live β€” and the defaults are the ones marked below. The defaults get overwritten first by the global file, and then by the user file. Stacked. Periodt.

πŸ’… NOTE: the values for entries do not need to be quoted unless quoting is actually required for passing arguments, like:
"terminal_allow_send_events="-xrm '*.VT100.allowSendEvents:true'""

should be written as

"terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true'"

okay now let's go through every single one πŸŽ€


  • auto_close = 5 β€” close the terminal window after this many seconds. If you set it to 0 it'll instead wait on input from you in each window before closing. See also --autoclose and --no-autoclose.
  • auto_quit = 1 β€” automatically quit after the last client window closes. Set to 0 to disable. See also --autoquit.
  • auto_wm_decoration_offsets = no β€” enable or disable the alternative algorithm for calculating terminal positioning. πŸͺŸ
  • command_pre =
  • command_post = β€” add extra commands around the communication method. For example:
command_pre= . $HOME/virtualenvs/default/bin/active ;
command_post= | ct

would allow for using Python virtual envronments and then piping all shell output through chromaterm for syntax highlighting. Note: you must use appropriate command separators/terminators to keep the meaning of the command pipline (such as ; and | between commands).

These are not put through macro parsing.

  • comms = sftp β€” sets the default communication method (initially taken from the name of the program, but can be overridden here).
  • console_position = <null> β€” set the initial position of the console. If it's empty then let the window manager decide. Format is '+<x>+<y>', i.e. '+0+0' is top left hand corner of the screen, '+0-70' is bottom left hand side of screen (more or less). ✨
  • external_command_mode = 0600 β€” file mode bits for the external_command_pipe.
  • external_command_pipe = <null> β€” define the full path to an external command pipe that can be written to for controlling some aspects of ClusterSSH, such as opening sessions to more clusters.

Commands:

  • "open <tag|hostname>" β€” open new sessions to provided tag or hostname
  • "retile" β€” force window retiling

e.g.: "echo 'open localhost'" /path/to/external_command_pipe >>

  • external_cluster_command = <null> β€” define the full path to an external command that can be used to resolve tags to host names. This command can be written in any language. The script must accept a list of tags to resolve and output a list of hosts (space separated on a single line). Any tags that cannot be resolved should be returned unchanged.

A non-0 exit code will be counted as an error, a warning will be printed and output ignored.

If the external command is given a -L option it should output a list of tags (space separated on a single line) it can resolve. πŸ‘‘

  • extra_cluster_file = <null> β€” define an extra cluster file in the format of /etc/clusters. Multiple files can be specified, separated by commas. Both ~ and $HOME are acceptable as a reference to the user's home directory, e.g.
"extra_cluster_file = ~/clusters, $HOME/clus"
  • extra_tag_file = <null> β€” define an extra tag file in the format of /etc/tags. Multiple files can be specified, separated by commas. Both ~ and $HOME are acceptable as a reference to the user's home directory, e.g.
"extra_tag_file = ~/tags, $HOME/tags"
  • key_addhost = Control-Shift-plus β€” default key sequence to open the AddHost menu. See "KEY SHORTCUTS" for more information.
  • hide_menu = 0 β€” if set to 1, hide the menu bar (File, Hosts, Send, Help) in the console. πŸ™ˆ
  • key_clientname = Alt-n β€” default key sequence to send cssh client names to client. See "KEY SHORTCUTS" for more information.
  • key_localname = Alt-l β€” default key sequence to send hostname of local server to client. See "KEY SHORTCUTS" for more information.
  • key_paste = Control-v β€” default key sequence to paste text into the console window. See "KEY SHORTCUTS" for more information.
  • key_quit = Control-q β€” default key sequence to quit the program (will terminate all open windows). See "KEY SHORTCUTS" for more information.
  • key_retilehosts = Alt-r β€” default key sequence to retile host windows. See "KEY SHORTCUTS" for more information.
  • key_username = Alt-u β€” default key sequence to send username to client. See "KEY SHORTCUTS" for more information.
  • key_user_1 = Alt-1
  • key_user_2 = Alt-2
  • key_user_3 = Alt-3
  • key_user_4 = Alt-4 β€” default key sequence to send user defined macros to client. If the matching macro_user_1 macro is undefined, the sequence is passed straight to the terminal. See "KEY SHORTCUTS" for more information.
  • macro_servername = %s
  • macro_hostname = %h
  • macro_username = %u
  • macro_newline = %n
  • macro_version = %v
  • macro_user_1 = %1
  • macro_user_2 = %2
  • macro_user_3 = %3
  • macro_user_4 = %4 β€” change the replacement macro used when either using a 'Send' menu item, or when pasting text into the main console. πŸ”
  • macro_user_1_command =
  • macro_user_2_command =
  • macro_user_3_command =
  • macro_user_4_command = β€” user defined macros. The macro is run through the shell on the server and the output is sent to the client. For example,
"macro_user_1_command=echo echo macro_user_1"

would send the text echo macro_user_1 into the terminal session.

"macro_user_1_command=env | grep CSSH"

would send the CSSH environment variables to the client.

The following environment variables are set in the shell of the macro process:

  • CSSH_SERVERNAME
  • CSSH_HOSTNAME
  • CSSH_USERNAME
  • CSSH_CONNECTION_STRING
  • CSSH_CONNECTION_PORT
  • CSSH_VERSION
  • macros_enabled = yes β€” enable or disable macro replacement. Note: this affects all the macro_* variables above.
  • max_addhost_menu_cluster_items = 6 β€” maximum number of entries in the 'Add Host' menu cluster list before scrollbars are used.
  • max_host_menu_items = 30 β€” maximum number of hosts to put into the host menu before starting a new column.
  • menu_host_autotearoff = 0
  • menu_send_autotearoff = 0 β€” when set to non-0 will automatically tear-off the host or send menu at program start.
  • mouse_paste = Button-2 (middle mouse button) β€” default key sequence to paste text into the console window using the mouse. See "KEY SHORTCUTS" for more information. πŸ–±οΈ
  • rsh = /path/to/rsh
  • ssh = /path/to/ssh
  • telnet = /path/to/telnet β€” set the path to the specific binary to use for the communication method, else uses the first match found in $PATH.
  • rsh_args = <blank>
  • ssh_args = "-x -o ConnectTimeout=10"
  • telnet_args = <blank> β€” sets any arguments to be used with the communication method (defaults to ssh arguments).
⚠️ NOTE: The given defaults are based on OpenSSH, not commercial ssh software.
⚠️ NOTE: Any "generic" change to the method (e.g., specifying the ssh port to use) should be done in the medium's own config file (see ssh_config and $HOME/.ssh/config).
  • screen_reserve_top = 0
  • screen_reserve_bottom = 60
  • screen_reserve_left = 0
  • screen_reserve_right = 0 β€” number of pixels from the screen's side to reserve when calculating screen geometry for tiling. Setting this to something like 50 will help keep cssh from positioning windows over your window manager's menu bar if it draws one at that side of the screen. πŸͺŸβœ¨
  • terminal = /path/to/xterm β€” path to the X-Windows terminal used for the client.
  • terminal_args = <blank> β€” arguments to use when opening terminal windows. Otherwise takes defaults from $HOME/.Xdefaults or $HOME/.Xresources file.
  • terminal_chdir = 0 β€” when non-0, set the working directory for each terminal as per 'terminal_chdir_path'.
  • terminal_chdir_path = $HOME/.clusterssh/work/%s β€” path to use as working directory for each terminal when 'terminal_chdir' is enabled. The path provided is passed through the macro parser (see the section above on 'macros_enabled'. πŸ“
  • terminal_font = 6x13 β€” font to use in the terminal windows. Use standard X font notation.
  • main_window_font = "" β€” font to use in the main console window. Use Tk font notation (e.g. "sans 14 bold"). When empty, the default is used (on 4K+ displays, Nimbus 14). πŸ’–
  • terminal_reserve_top = 5 β€” how many pixels to leave free at the top when cssh does the math for tiling geometry. Bumping these up keeps windows from parking right on top of your title bars πŸ’…
  • terminal_reserve_bottom = 0 β€” same deal but for the bottom edge.
  • terminal_reserve_left = 5 β€” and the left edge, babes.
  • terminal_reserve_right = 0 β€” and the right. Set these so cssh stops positioning windows over your scroll bars and title bars, or just generally overlapping everything like it's got no manners.
  • terminal_colorize = 1 β€” if it's 1 (the default, bestie), then -bg and -fg get tacked onto the terminal invocation command-line. Your terminal gets colored in a pseudo-random way based on the host name. Can you predict the color? No. Is it always the same color for that same host name? Yes ma'am. After a while you'll literally recognize hosts by their signature terminal color, it's giving friendship bracelets πŸŽ€
  • terminal_bg_style = dark β€” set it to "dark" and the terminal background goes black with the pseudo-random color as the foreground. Set it to "light" and it flips: foreground black, background pseudo-random. And if terminal_colorize is "zero", this whole option does absolutely nothing, periodt.
  • terminal_size = 80x24 β€” the initial size of your terminals. NOTE: when cssh resizes terminals for tiling, it's the number of lines (24) that gets decreased, not the number of characters (80). Don't come for the 80.
  • terminal_title_opt = -T β€” the option handed to terminal to set the window title.
  • terminal_allow_send_events = -xrm '*.VT100.allowSendEvents:true' β€” the option your terminal requires to allow XSendEvents to be received.
  • title = cssh β€” the title of the windows used for both the console and the terminals.
  • unmap_on_redraw = no β€” tells Tk to use the UnmapWindow request before redrawing terminal windows. It defaults to "no" because it causes problems with the FVWM window manager. If your redraws are being messy, you can set it to "yes" to let the window be unmapped before it's repositioned 🫢
  • use_all_a_records = 0 β€” if a hostname resolves to multiple IP addresses, set this to 1 to connect to all of them instead of just the first one found. See also "--use-all-a-records".
  • use_hotkeys = 1 β€” setting this to 0 disables every hotkey. All of them. Gone.
  • use_natural_sort = 0 β€” windows normally sort alphabetically, i.e. host1, host11, host2. Setting this to 1 switches the sort order to host1, host2, host11. NOTE: you must have the perl module Sort::Naturally installed. No module, no vibes.
  • host_sort_command = <null> β€” define an external command that reads hosts from STDIN and writes the desired host order to STDOUT (whitespace-separated). This command is used for host sorting and it takes precedence over "use_natural_sort". If the command can't be started, exits non-zero, or outputs no hosts, cssh falls back to default lexical sorting. Fair enough honestly.
  • preserve_host_order = 0 β€” set to 1 and cssh displays and tiles hosts in the order you gave them on the command line instead of sorting them alphabetically. See also -P/--preserve-host-order.
  • user = $LOGNAME β€” sets the default user for running commands on clients.
  • window_tiling = 1 β€” perform window tiling (set it to 0 to disable).
  • window_tiling_direction = right β€” which way the tiling goes. "right" means start at the top left and move right, then down. Anything else means start at the bottom right and move left, then up.
NOTE: The key shortcut modifiers must be in the form "Control", "Alt" or "Shift" β€” first letter capitalized, rest lower case, okay? Keys can also be disabled individually by setting them to the word "null". ✨

🌸 $HOME/.clusterssh/send_menu 🌸

This (optional) file holds the items that populate the send menu. The default entry could be written as:

<send_menu>
  <menu title="Use Macros">
      <toggle/>
      <accelerator>ALT-p</accelerator>
  </menu>
  <menu title="Remote Hostname">
      <command>%s</command>
      <accelerator>ALT-n</accelerator>
  </menu>
  <menu title="Local Hostname">
      <command>%s</command>
      <accelerator>ALT-l</accelerator>
  </menu>
  <menu title="Username">
      <command>%u</command>
      <accelerator>ALT-u</accelerator>
  </menu>
  <menu title="Test Text">
      <command>echo "ClusterSSH Version: %v%n</command>
  </menu>
</send_menu>

Submenus can also be specified as follows:

<send_menu>
  <menu title="Default Entries">
    <detach>yes</detach>
    <menu title="Hostname">
        <command>%s</command>
        <accelerator>ALT-n</accelerator>
    </menu>
  </menu>
</send_menu>

Caveats πŸ’€

  • There is currently no strict format checking of this file.
  • The format of the file may change in the future.
  • If the file exists, the default entry (Hostname) is not added.

The following replacement macros are available (note: these can be changed in the configuration file):

  • %s β€” Hostname part of the specific connection string to each client, minus any username or port.
  • %u β€” Username part of the connection string to each client.
  • %h β€” Hostname of the server where cssh is being run from.
  • %n β€” "RETURN" code.
NOTE: requires XML::Simple to be installed, bestie. No cap.

πŸ’€ KNOWN BUGS πŸ’€

If you have any ideas about how to fix the bugs below, please get in touch and/or provide a patch. We're rooting for you 🫢

  • Swapping virtual desktops can cause a redraw of all the terminal windows. This is due to a lack of distinction within Tk between switching desktops and minimising/maximising windows. Until Tk can tell the difference between the two events, there is no fix (apart from rewriting everything directly in X). Yeah. It's giving tragic.

πŸ”§ TROUBLESHOOTING πŸ”§

If you have issues running csftp, first try:

csftp -e [user@]<hostname>[:port]

This performs two tests to confirm cssh is able to work properly with the settings provided within the $HOME/.clusterssh/config file (or internal defaults).

  1. Test the terminal window works with the options provided.
  2. Test sftp works to a host with the configured arguments.

Configuration options to watch for in ssh are:

  • SSH doesn't understand -o ConnectTimeout=10 β€” remove the option from the $HOME/.clusterssh/config file.
  • OpenSSH-3.8 using untrusted ssh tunnels β€” use -Y instead of -X, or use ForwardX11Trusted yes in $HOME/.ssh/ssh_config (if you change the default ssh options from -x to -X).

πŸ†˜ SUPPORT AND REPORTING BUGS πŸ†˜

A web site for comments, requests, bug reports and bug fixes/patches is available at: <https://github.com/duncs/clusterssh>

If you require support, please run the following commands and create an issue via: <https://github.com/duncs/clusterssh/issues>

perl -V
perl -MTk -e 'print $Tk::VERSION,$/'
perl -MX11::Protocol -e 'print $X11::Protocol::VERSION,$/'
cat /etc/csshrc $HOME/.clusterssh/config

Using the debug option (--debug) will turn on debugging output. Repeat the option to increase the amount of debug. However, if possible please only use this option with one host at a time, e.g. cssh --debug <host>, due to the amount of output produced (in both main and child windows). It's a lot of output, babe. Like, a lot.


πŸ‘€ SEE ALSO πŸ‘€

<https://github.com/duncs/clusterssh/wiki/>, ssh, Tk::overview, X11::Protocol, perl


πŸ‘‘ AUTHOR πŸ‘‘

Duncan Ferguson, "<duncan_j_ferguson at yahoo.co.uk>"


Copyright 1999-2018 Duncan Ferguson.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.


And that's the whole page, bestie! πŸ’– This one came to you courtesy of perl v5.42.2 and it's dated 2026-05-05, filed under CSFTP(1). Slay, go forth and cluster responsibly πŸŽ€βœ¨

πŸ“¦ where this page comes from