ssh - PHPSECLIB ssh2 \n not working -
so removing old server running old ibm os , gui when go log in run command:
$ssh->write("username\n"); $ssh->write("passw0rd");
however outputs
type id username type password
its if \n never worked.
the system in abstract way old windows machine. \n works on modern machines older windows use \r
using \r resolved issue.
Comments
Post a Comment