nxc-ssh
tests SSH credentials and executes commands
TLDR
Test SSH credentials
$ nxc ssh [192.168.1.0/24] -u [user] -p [password]
Test with key file$ nxc ssh [target] -u [user] --key-file [id_rsa]
Execute command$ nxc ssh [target] -u [user] -p [password] -x [id]
Test password list$ nxc ssh [target] -u [user] -p [passwords.txt]
SYNOPSIS
nxc ssh target [options]
DESCRIPTION
nxc ssh tests SSH credentials and executes commands. Part of NetExec security testing framework. Supports password spraying and credential validation.
PARAMETERS
-u user
Username or file.-p pass
Password or file.--key-file file
SSH private key.-x cmd
Execute command.--port port
SSH port.
CAVEATS
For authorized security assessments only. Requires proper authorization.
