Changeset 463


Ignore:
Timestamp:
Oct 13, 2007, 10:18:22 PM (16 years ago)
Author:
andersk
Message:
ssh sucks.
Location:
locker
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • locker/bin/cronload

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

    r459 r463  
    99
    1010sshrun() {
    11     athrun scripts scripts-ssh -l "$lname" "/mit/scripts/$@" 2>/dev/null
     11    athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 2>/dev/null
    1212}
    1313
  • locker/bin/scripts-ssh

    r438 r463  
    1 #!/bin/sh
     1#!/bin/bash
     2
     3lname=$1
     4shift
    25
    36exec ssh \
     
    811        -o GlobalKnownHostsFile=/afs/athena.mit.edu/contrib/scripts/ssh/known_hosts \
    912        -o UserKnownHostsFile=/dev/null \
    10         scripts.mit.edu "$@"
     13        scripts.mit.edu -l "$lname" "$(printf "%q " "$@")"
  • locker/bin/signup-minimal

    r458 r463  
    4848  lname=$temp
    4949
    50   ans=`athrun scripts scripts-ssh /usr/local/bin/admof "$lname" "$USER@ATHENA.MIT.EDU"`
     50  ans=`athrun scripts scripts-ssh "$USER" /usr/local/bin/admof "$lname" "$USER@ATHENA.MIT.EDU"`
    5151  if [ "$ans" != "yes" ]; then
    5252    echo
  • locker/bin/signup-sql

    r438 r463  
    99
    1010sshrun() {
    11   athrun scripts scripts-ssh -l "$lname" "/mit/scripts/$@" 2>/dev/null
     11  athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 2>/dev/null
    1212}
    1313
    1414vsshrun() {
    15   athrun scripts scripts-ssh -l "$lname" "/mit/scripts/$@"
     15  athrun scripts scripts-ssh "$lname" "/mit/scripts/$@"
    1616}
    1717
  • locker/deploy/bin/onathena

    r457 r463  
    1818
    1919sshrun() {
    20   athrun scripts scripts-ssh -l "$lname" "/mit/scripts/$@" 2>/dev/null
     20  athrun scripts scripts-ssh "$lname" "/mit/scripts/$@" 2>/dev/null
    2121}
    2222
    2323vsshrun() {
    24   athrun scripts scripts-ssh -l "$lname" "/mit/scripts/$@"
     24  athrun scripts scripts-ssh "$lname" "/mit/scripts/$@"
    2525}
    2626
     
    3232        fi
    3333        echo
    34         echo ERROR:
     34        echo "ERROR:"
    3535        printf "$2"
    36         printf "$3"
    3736        exit
    3837    fi
     
    143142      sqluser=$lname
    144143      . "/mit/scripts/sql/bin$scriptsdev/save-password"
    145       checksqlpass 1 'The MySQL password that you typed appears to be incorrect.\n' ''
     144      checksqlpass 1 'The MySQL password that you typed appears to be incorrect.\n'
    146145      echo
    147146      echo "OK.  Continuing with the install..."
    148147  else
    149       checksqlpass 0 'The MySQL login information in your .my.cnf file\n' 'appears to be incorrect.\n'
     148      checksqlpass 0 'The MySQL login information in your .my.cnf file\nappears to be incorrect.\n'
    150149  fi
    151150fi
Note: See TracChangeset for help on using the changeset viewer.