|
Provide a sample perl script which shows the usage of hostkey and public_key methods in Net::SSH2 so that we can generate a public key and use that public key in auth_publickey method.
Also there is a method via which private key can be generated by using only Net::SSH2.
|