-
|
Hi everyone, I would consider myself rather experienced with using CALDERA by now. But recently, I have run into a problem which I cannot seem to solve. No matter how I try, I cannot connect to a remote host (metasploitable) and/or execute a command within a CALDERA ability. I have tried the following commands:
The problem is, that CALDERA does not give me any output - it just says Did I miss the information that connecting to a remote machine via SSH is not possible with CALDERA? More information: I am running CALDERA 4.0.0 on a Kali VM. An agent is running on the same machine, connected to the CALDERA server. The agent is then used to execute abilities against a remote target metasploitable VM (in the same manner the access plugin works). Update: Okay, so I just found the problem. I was running an elevated agent that was started using sudo. It looks like running sshpass with sudo does not work since executing the commands manually did not work either.. 'sudo ssh ...' worked fine but not 'sudo sshpass ...'. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Do not use |
Beta Was this translation helpful? Give feedback.
Do not use
sshpasswithsudo. Since the agent was elevated the SSH connection could not be established..