Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

gross tla hack part n

I've reported on this before but I ran into it again: danga doesn't have sftp set up so tla dies with "Request for subsystem 'sftp' failed on channel 0". Typically I recompile tla to fix this but a better fix occurred to me.

% cat .local/bin/ssh
#!/bin/bash

if [ "$1" = "-oFallBackToRsh=no" ]; then
	# we know it's tla
        /usr/bin/ssh $1 $2 $3 $4 $6 /usr/lib/sftp-server
else
        /usr/bin/ssh $*
fi
Subscribe
  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 4 comments