To transfer files from the Radio to a PC there are several items required.
- An SCP server installed on a Laptop if transferring files
- Firewall disabled or a firewall rule added to pass port 22
- Valid files such as the Encryption Key if this to be uploaded to the RRUT
- Permission to tranfer the files over the netwrok if this is the case
Download SCP or TFTP software
Download SCP and TFTP servers. SolarWinds SCP server and TFTPD64 were used in this example.
In order to transfer the customScript.bfe, first ensure the filename matches exactly customScript.bfe.
SCP Server installation and Transfer
If using SolarWinds SCP, right click and choose Run as Administrator and start the server. Settings are as follows:
Bind IP address to Local IP
Created user and password for proper authentication
Place the customScript.bfe file in the root directory of the SCP server.
Establish an SSH to the radio and run commands:
MMX>scp USERNAME@SERVER_IP:customScript.bfe /tmp/upload
Example:
Via the transfer command syntax:
Once the file has successfully been uploaded, run command execute sys os script to apply the script. Done!
TFTP Server installation and Transfer
In order to upload via TFTP, move the customScript.bfe file to the TFTP root folder:
Establish an SSH session to the unit, and run the below commands:
MMX>transfer sys os tftp script upload SERVER_IP customScript.bfe
Example:
Once the file has successfully been uploaded, run command execute sys os script to apply the script. Done!
Download Radius dictionary
transfer security radius scp dictionary download 172.26.19.58 host
Host '172.26.19.58' is not in the trusted hosts file.
(ssh-rsa fingerprint sha1!! eb:2c:bc:19:fe:1c:0b:20:cb:5f:38:bd:cc:50:c1:b0:4d:6c:59:18)
Do you want to continue connecting? (y/n) y
host@172.26.19.58's password:
dictionary.mwl 100% 427 0.4KB/s 00:00
Download Encryption key
To get an encryption key from Pyxis or Tornado you can use scp server installed on the radio. This will connect with an SCP client to download to the Server (laptop) or upload to the Client (radio)
transfer security encryption scp key download 172.26.19.58 host
Host '172.26.19.58' is not in the trusted hosts file.
(ssh-rsa fingerprint sha1!! eb:2c:bc:19:fe:1c:0b:20:cb:5f:38:bd:cc:50:c1:b0:4d:6c:59:18)
Do you want to continue connecting? (y/n) y
host@172.26.19.58's password:
enc_key 100% 32 0.0KB/s 00:00
Upload encryption Key
Uploading the encryption key to the host PC or laptop is similar to downloading. If the radio has not connected to the SCP server before, it will be necessary to accept the certificate
transfer security encryption scp key upload 172.26.19.58 host encryption_key
Host '172.26.19.58' is not in the trusted hosts file.
(ssh-rsa fingerprint sha1!! eb:2c:bc:19:fe:1c:0b:20:cb:5f:38:bd:cc:50:c1:b0:4d:6c:59:18)
Do you want to continue connecting? (y/n) y
host@172.26.19.58's password:
encryption_key 100% 32 0.0KB/s 00:00
Apply the key to the radio
configure security encryption key apply
Applying Key Hash: 75fc7eaa4211b845295bb64b3105d743
Apply a firewall rule if required
Windows may still require a firewall rule to allow the connection to the server. Navigate by pressing the windows key and typing Windows Defender
Go to advanced settings and create a new rule if one does not exist.
Under Genarl give the rule a name and make the action "Allow the connection"
Under Protocols and Ports specify the protocol as TCP and local port as 22. Press OK to accept.