Docker image extending kalilinux/kali to start with the SSH daemon listening as service. The image is weekly rebuilt from rolling pod by kalilinux (rolling updates).
This image exposes SSH service on port 22 by default with a Kali Linux as container. Use KALI_PORT environment variable to use an alternative port number.
Ready to pull from caligari/kali-sshd on Docker Hub, weekly updated and tagged with latest and week number YYYY.WW.
# start the container
docker run -d -e KALI_PASS=yourSecretPasswordHere caligari/kali-sshd
# use host network and alternative port
docker run -d -e KALI_PASS=ysph1234 -e KALI_PORT=10022 --network=host caligari/kali-sshd# set the namespace
export NS=your_namespace
# create the secret with the password
kubectl -n $NS create secret generic kali-sshd-secret --from-literal=KALI_PASS=ysph1234
# create the deployment
kubectl -n $NS apply -f https://raw.githubusercontent.com/Treboada/docker-kali-sshd/refs/heads/main/kali-ssh-deployment.yamlThe service is NodePort type. Please, ask your cluster administrator to setup the service in a better way.
Log in with ssh client by using the root user and the password set on KALI_PASS environment variable:
# command to log in the SSH service
ssh -p 10022 root@SERVICE_IP- Action workflow to do weekly builds and pushes.
- Kubernetes deployment instructions.
- Password and port environment variables