sshhost file or explicitly give a machine name before the command, one of your choosing). This will effectively send out your process to a relatively idle cslab machine (or, if you have a. You can use ssh.cs. to run commands on idle machines like so: ssh -Y ssh.cs.), ssh.cs. will tunnel X11 through the ssh connections, so you should not have to deal with your $DISPLAY variable if you are going to use X programs remotely. To specify a host class, enter the name of the class prefixed with available classes include: forwarding In preferred or explicit operation, you can use a host class in place of a hostname host classes are expanded into all their constituent hosts, in order of most idle host. This mode is the most experimental and may not be available to users of ssh clients other than OpenSSH.Įxplicit operation will not automatically fall back to another host if none of your requested hosts are available. It is necessary to use -t because, having given ssh a "command" to run, it will not automatically allocate a tty. To do so, you must have the first argument be in the form "host=".
Ssh.cs. can take an explicit machine to forward you to on the command line. If you'd like ssh.cs. to fall back to the default mode if none of your hosts are available, put an entry at the end of the list. sshhost file, is ssh to ssh.cs., or 'ssh ssh' for short. Instead of having to figure out which ones may be up, ssh.cs. figures that all out for you all you do, after setting up your. This mode is mostly useful for if you have a preferred set of machines on which to work. Note: The names given must be the machines' full names (ie, cslab8d, not simply 8d). ssh.cs. will choose from the list in order from top to bottom. The file should be a list of machine names, each name on its own line. sshhost file is a list of machines from which you would like ssh.cs. to choose to forward you. You may use the preferred operation by installing a.
In the preferred operation, ssh.cs. will act simply as an ssh gateway. In the default operation, ssh.cs. acts like a mini-load balancer. Absolutely no configuration must be done for this mode just ssh ssh.cs. This list is updated every 3 minutes, so if you make a lot of calls to ssh.cs. in a short time period, there is the possibility that you will be forwarded to the same machine more than once. Ssh.cs. is a machine that automatically forwards ssh connections to other machines.īy default, ssh.cs. will automatically forward you to a cslab machine, randomly chosen from a list of the least active machines.