dkhosla1 has asked for the wisdom of the Perl Monks concerning the following question:
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!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Solve IO::Pty warning issues from Net::OpenSSH
by syphilis (Archbishop) on Jun 23, 2024 at 10:28 UTC | |
|
Re: Solve IO::Pty warning issues from Net::OpenSSH
by bliako (Abbot) on Jun 23, 2024 at 11:02 UTC |