Metasploit mailing list archives
ssh_login_pubkey
From: "Paul O'Grady" <paulmogrady () gmail com>
Date: Wed, 15 Dec 2010 15:17:28 -0500
Hey All, Just curious if anyone has been experiencing the same behaviour that I have with the ssh_login_pubkey module: I've confirmed that my test environment is configured right by authenticating to my SSH server with my private key. I set KEY_FILE to a cleartext private key I set USERNAME to the appropriate user my output looks like: [*] 192.168.20.106:22 - SSH - Testing Cleartext Keys [*] 192.168.20.106:22 - SSH - Trying 1 cleartext key per user. [*] Error: 192.168.20.106: OpenSSL::PKey::RSAError Neither PUB key nor PRIV key:: not enough data [*] Scanned 1 of 1 hosts (100% complete) [*] Auxiliary module execution completed I've confirmed that key_data contains a valid key before self.ssh_socket = Net::SSH.start is called. tail end of SSH debug output looks like: [...] beginning authentication of `msfadmin' queueing packet nr 4 type 5 len 28 sent 52 bytes read 52 bytes received packet nr 4 type 6 len 28 trying publickey connecting to ssh-agent could not connect to ssh-agent I'm running r11341 Cheers, -Paul
_______________________________________________ https://mail.metasploit.com/mailman/listinfo/framework
Current thread:
- ssh_login_pubkey Paul O'Grady (Dec 15)
- Re: ssh_login_pubkey Tod Beardsley (Dec 15)
- Re: ssh_login_pubkey Paul O'Grady (Dec 16)
- Re: ssh_login_pubkey Tod Beardsley (Dec 16)
- Re: ssh_login_pubkey Paul O'Grady (Dec 16)
- Re: ssh_login_pubkey Tod Beardsley (Dec 16)
- Re: ssh_login_pubkey Paul O'Grady (Dec 16)
- Re: ssh_login_pubkey Tod Beardsley (Dec 15)