Add Support for ssh-agent for ssh authentication #91
Labels
enhancement
New feature or request
linux
Issues relating specifically to the Linux platform
upstream
Issues/Pull Requests waiting on upstream fixes
Is your feature request related to a problem? Please describe.
Many users tend to use a ssh-agent for convenience/security purposes. As of right now pwncat requires user to pass the private key file for ssh authentication. which might not be always possible because
Describe the solution you'd like
Instead of asking for a identity file, ask the ssh-agent for authentication. paramiko already has support for it here
SSH-agent forwarding would be very nice to have too,
which seems to be undocumented?https://gist.github.com/toejough/436540622530c35404e6This should come with big warning texts though, since exposing your ssh-agent on a untrustworthy machine can only end in a disaster.
Alternative
Just generate another key for use with pwncat.
The text was updated successfully, but these errors were encountered: