Changeset 438 for locker/bin


Ignore:
Timestamp:
Oct 1, 2007, 11:52:03 PM (17 years ago)
Author:
andersk
Message:
The time has come that sshmic fails to work on more machines than it
is necessary on.  Replace it with an ssh wrapper script that also sets
various ssh options.
Location:
locker/bin
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • locker/bin/cronload

    r127 r438  
    88cwd=`pwd`
    99lname=`perl -e "\\\$temp = \"$cwd\"; \\\$temp =~ /\\\/([^\\\/]+)\\\/cron_scripts/; print \\\$1"`
    10 athrun scripts sshmic ${lname}@scripts.mit.edu "/usr/local/bin/cronload $1 $cwd" 2>/dev/null
     10athrun scripts scripts-ssh -l "$lname" /usr/local/bin/cronload "$1" "$cwd" 2>/dev/null
  • locker/bin/scripts-remove

    r328 r438  
    99
    1010sshrun() {
    11     athrun scripts sshmic "$lname@scripts.mit.edu" "/mit/scripts/$@" 2>/dev/null
     11    athrun scripts scripts-ssh -l "$lname" "/mit/scripts/$@" 2>/dev/null
    1212}
    1313
  • locker/bin/signup-minimal

    r221 r438  
    4848  lname=$temp
    4949
    50   ans=`athrun scripts sshmic -k scripts.mit.edu /usr/local/bin/admof $lname ${USER}@ATHENA.MIT.EDU`
     50  ans=`athrun scripts scripts-ssh /usr/local/bin/admof "$lname" "$USER@ATHENA.MIT.EDU"`
    5151  if [ "$ans" != "yes" ]; then
    5252    echo
  • locker/bin/signup-sql

    r382 r438  
    99
    1010sshrun() {
    11   athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1 2>/dev/null
     11  athrun scripts scripts-ssh -l "$lname" "/mit/scripts/$@" 2>/dev/null
    1212}
    1313
    1414vsshrun() {
    15   athrun scripts sshmic ${lname}@scripts.mit.edu /mit/scripts/$1
     15  athrun scripts scripts-ssh -l "$lname" "/mit/scripts/$@"
    1616}
    1717
Note: See TracChangeset for help on using the changeset viewer.