in reply to Re^3: net::ssh2 connection
in thread net::ssh2 connection

[ 1592645 ] Public key can not be readed from file

Replies are listed 'Best First'.
Re^5: net::ssh2 connection
by Anonymous Monk on Nov 04, 2008 at 17:00 UTC

    But why would the server then accept the key just fine?

    syphilis: wouldn't both c != '\n' and c != 10 effectively test the same thing?

      wouldn't both c != '\n' and c != 10 effectively test the same thing?

      Aaah ... yes, I'm losing the plot. (Somehow I had managed to prove to myself that both '\r' and '\n' were 0x0D .... damned if I can reproduce that work of inspired genius now, though :-)

      Cheers,
      Rob