in reply to Re^2: Net::SFTP::Foreign Cipher check
in thread Net::SFTP::Foreign Cipher check

Using the same "more" option, you can give it the -v option to run in debug mode, which will display the ciphers used.

Replies are listed 'Best First'.
Re^4: Net::SFTP::Foreign Cipher check
by sofysr (Novice) on Apr 01, 2019 at 21:53 UTC
    I tried the more option but I get the error, "Invalid option 'more' or bad combination of options". After researching, I found that since I am using "backend => 'Net_SSH2'" option in the connection string, the more option is not supported. My connection string:
    $sftp = Net::SFTP::Foreign->new($host, port => '22', backend => 'Net_S +SH2', user => $sftpuser, key_path => $filepath, );