Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

SSH Command Reference

mpgn edited this page Apr 28, 2020 · 2 revisions

SSH: Command Reference

Updated: 28/04/2020
CME Version:5.0.1dev


SSH Connection

Testing credentials

#~ cme ssh 192.168.1.0/24 -u user -p password

Expected Results:

SSH         127.0.0.1       22     127.0.0.1        [*] SSH-2.0-OpenSSH_8.2p1 Debian-4
SSH         127.0.0.1       22     127.0.0.1        [+] user:password

Specify Ports

#~ cme http 192.168.1.0/24 --port 2222

Execute Command

#~ cme ssh 127.0.0.1 -u user -p password -x whoami
SSH         127.0.0.1       22     127.0.0.1        [*] SSH-2.0-OpenSSH_8.2p1 Debian-4
SSH         127.0.0.1       22     127.0.0.1        [+] user:password 
SSH         127.0.0.1       22     127.0.0.1        [+] Executed command
SSH         127.0.0.1       22     127.0.0.1        user