InvasionCPX Posted October 2, 2018 Share Posted October 2, 2018 Hi all, I am trying to run this on a clean ubuntu server. After filling in the right arguments and opening the ports on my firewall. I fire up the command and it gives me the !error starting ssh server. I cant even find in the logs why this is happening. https://ibb.co/dvNsDe Kind regards, InvasionCPX Link to comment Share on other sites More sharing options...
m40295 Posted October 2, 2018 Share Posted October 2, 2018 I'm pretty sure the SSH server is independent don't use 22 as that's your SSH for your VPS leave it as the default -Sshserver 2022 Woot my 300 post on hak5 Link to comment Share on other sites More sharing options...
Sebkinne Posted October 2, 2018 Share Posted October 2, 2018 6 minutes ago, m40295 said: I'm pretty sure the SSH server is independent don't use 22 as that's your SSH for your VPS leave it as the default -Sshserver 2022 This is correct. The port you specifiy there is the port for the server the C2 spins up. Not your already running SSH server. If you want the C2 SSH server to run on 22, you'd have to move your current SSH server to another port. Edit: if you want to use ports below 1024, you'll need to run the Cloud C2 as root. Link to comment Share on other sites More sharing options...
noncenz Posted October 11, 2018 Share Posted October 11, 2018 If you're running this on a vlan (Azure VM?) don't forget that your listen IP is the local VLAN IP and not the publicly facing one. Link to comment Share on other sites More sharing options...
UnshakeableSalt Posted June 26, 2019 Share Posted June 26, 2019 xxx-xxx-xxx-xxx for the internal IP address of the box yyy-yyy-yyy-yyy for the external(internet) IP address of the box xxxxx.security.com is just a dynamic DNS address that I have registered with a provider ubuntu@ip-xxx-xxx-xxx-xxx:~$ ./c2_community-linux-64 -hostname xxxxx.security.com -listenip xxx-xxx-xxx-xxx -https -sshport 2022 Just to add, that I also fell foul of this when running in an EC2 instance in AWS Don't forget that the IP is the INTERNAL ip of the box, not the Elastic IP that is associated with the EC2 instance, otherwise you get the [*] Initializing Hak5 Cloud C2 [!] Error starting SSH server Link to comment Share on other sites More sharing options...
booms1 Posted July 29, 2019 Share Posted July 29, 2019 Thank you! for the innovative and sophicticated information on this complicated topic. I was searching for this for weeks. Link to comment Share on other sites More sharing options...
josealmeidajr Posted August 6, 2019 Share Posted August 6, 2019 Running into the same issue. Trying to set it up on a EC2 vps. ./c2_community-linux-64 -listenip xxx.xxx.xxx.xxx -sshport 2022 -hostname foobar.com -https and all I get is: [*] Initializing Hak5 Cloud C2 [!] Error starting SSH server Link to comment Share on other sites More sharing options...
Nutterr Posted December 19, 2019 Share Posted December 19, 2019 Anyone found a solution for this problem as it also occurs on RPi 2? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.