• Avery Pennarun's avatar
    Insert two binary NUL bytes (\0) before SSHUTTLE0001 sync string. · 7712c60c
    Avery Pennarun authored
    ...and search for those null bytes before looking for the sync string.
    
    This helps when people have misconfigured .bashrc to print messages even in
    non-interactive mode.  (On my Debian Lenny system, .bashrc doesn't seem to
    run when you do 'ssh localhost ls', but on MacOS servers, it does.  Hmm...)
    7712c60c
client.py 12.4 KB