SSH Agent

SSH agent module of parallel-ssh

class pssh.agent.SSHAgent

paramiko.agent.Agent compatible class for programmatically supplying an SSH agent.


Add key to agent.

Parameters:key (paramiko.pkey.PKey) – Key to add

Return the list of keys available through the SSH agent, if any. If no SSH agent was running (or it couldn’t be contacted), an empty list will be returned.

Returns:a tuple of .AgentKey objects representing keys available on the SSH agent