Perl: the Markov chain saw | |
PerlMonks |
Solve IO::Pty warning issues from Net::OpenSSHby dkhosla1 (Sexton) |
on Jun 22, 2024 at 21:30 UTC ( [id://11160172]=perlquestion: print w/replies, xml ) | Need Help?? |
dkhosla1 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am using Net::OpenSSH, and if providing a password to a connection, it uses the IO:Pty package and gives a warning. The connection is successful. The issue seems to be with grantpt() WARN: IO::Pty::new:24: IO::Tty::pty_allocate(nonfatal): grantpt(): Operation not permittedWith debug it shows 'trying grantpt() ...' before this message. 1) any suggestions on how to have grantpt() be successful or not be attempted? 2) Or suppress that specific message or worst case suppress all warning messages from IO::Pty (It was suggested that I use '{ no warning; .. } but I don't want to suppress warnings from Net::OpenSSH itself) Thanks!
Back to
Seekers of Perl Wisdom
|
|