source: trunk/locker/bin/ssh @ 1921

Last change on this file since 1921 was 1920, checked in by achernya, 11 years ago
Bring known_hosts under version control Bring the known_hosts file under version control. It previous had been sitting in the ssh/ directory in the locker. Additionally, correct the scripts-ssh and ssh scripts to point to this new location. Note that this requires the creation of the etc -> checkout/etc symlink in the locker.
File size: 382 bytes
Line 
1#!/bin/bash
2
3# add -r scripts
4if [ -x /bin/athena/attach ]; then
5  eval $(/bin/athena/attach -Padd -b -r scripts)
6fi
7
8exec ssh \
9        -o GSSAPIAuthentication=yes \
10        -o GSSAPIDelegateCredentials=no \
11        -o PreferredAuthentications=gssapi-with-mic \
12        -o ForwardX11=no \
13        -o GlobalKnownHostsFile=/afs/athena.mit.edu/contrib/scripts/etc/known_hosts \
14        -o UserKnownHostsFile=/dev/null \
15        "$@"
Note: See TracBrowser for help on using the repository browser.