How to ssh to MCM to verify Networks

** Firmware version 1.1.9 is compatible with MCM9000 6.2.x onwards; SSH through MCM allows you to check the network connectivity directly from the server and is possible for users that are not admin users.

Please note that when using Firmware version 1.1.9 for the first time, you may encounter the below error message while you SSH via Putty or a terminal as an admin user.

If you are a Windows user, click on Accept and proceed.

If you are a MacOS user, the following text may appear in the terminal after changing the user for ssh:

Use the following command to proceed,

ssh-keygen -R <Hostname or IP Address>

 

Utilities available from firmware 1.1.9 onwards

 

Utilities

Description

ping

A ping (Packet Internet or Inter-Network Groper) is a basic Internet program that allows a user to test and verify if a particular destination IP address exists and can accept requests in computer network administration.

curl

Transfer data to or from a server, using any of the supported protocols (HTTP, FTP, IMAP, POP3, SCP, SFTP, SMTP, TFTP, TELNET, LDAP, or FILE).

traceroute

Prints the route that a packet takes to reach the host.

netstat

Generates displays that show network status and protocol statistics

nslookup

Discover the IP address or DNS record of a specific domain name

route

Choose the path of the network for transporting the data packets

ip

IP stands for Internet Protocol. This command is used to show or manipulate routing, devices, and tunnels.

ifconfig

The command ifconfig stands for interface configurator. This command enables us to initialize an interface, assign IP address, enable or disable an interface.

wget

Wget is a free utility for non-interactive download of files from the Web.

dig/nslookup

The dig (domain information groper) command is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the queried name server(s).

ssh

The ssh command is used to securely log into a remote machine and execute commands on that machine.

grep

Searches for the pattern specified by the Pattern parameter and writes each matching line to standard output.

cat

Used to display the content of a file, copy content from one file to another, concatenate the contents of multiple files, display the line number, display $ at the end of the line, etc.

tail

Prints the last few number of lines (10 lines by default) of a certain file, then terminates.

ls

Lists directory contents of files and directories. It provides valuable information about files, directories, and their attributes.

pwd

Writes to standard output the full path name of your current directory (from the root directory).

cd

Used to change between directories.

mkdir

Used to create one or more directories specified by the Directory parameter.

tcpdump

Tcpdump is a command line utility that allows you to capture and analyze network traffic going through your system.

Note: Running tcpdump for an extended period may lead to excessive system resource utilization.

 

Activate SSH Admin password via MCM GUI

Navigate to System → System Information → System Settings, fill in the SSH Admin Password and click on submit to save changes.

Note: Username to login to the ssh is admin (in lower case a), and the password must be at least 6 characters (only numbers and letters not special characters).