Changeset 463 for locker/bin


Ignore:
Timestamp:
Oct 13, 2007, 10:18:22 PM (17 years ago)
Author:
andersk
Message:
ssh sucks.
Location:
locker/bin
Files:
5 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
Note: See TracChangeset for help on using the changeset viewer.