Monitoring, Management & Location Tracking

How to upload a file on Airwave 8.2.4 from Windows machine instead of Linux or macOS?

MVP
MVP

Requirement:

I want to upload a file on 8.2.4 Airwave server. However, I do not have either a Linux machine or a Mac machine to SCP the file.

 

Requirements:

Airwave version 8.2.4



Solution:

We could download Bitvise SSH Server (winsshd server) for Windows, using which we could create sftp host on Windows.

which can be used to scp from Airwave 8.2.4 to Windows. 

 

NOTE: Bitvise SSH Server is free for NON-COMMERCIAL use. You must purchase this software.



Configuration:

Navigate to below URL to download bitvise software:

https://www.bitvise.com/winsshd-download

Click on Download on the Top Menu bar.

Select to download Bitvise SSH Server (WINSSHD) as highlighted below:

Click on the Bitvise Server Installer to download the .exe file, once downloaded, double click on it to run.

Use Personal Edition instead of the standard to avoid the 30 day Eval.

Launch the Bitvise tool, select the Start server option and choose the startup as manual, highlighted the fields below:

 

Now click on Open easy settings under  Settings, shown below:

Navigate to Virtual Accounts tab, from the below window:

Click on Add to create a virutal username and password for the winsshd server:

I created the username as "testing" and set the password accordingly, leave the shell access type to be default "BvShell" and for the root directory, i already had the default TFTP-Root directory in my C:, used it and got it working:

Click ok to save it.

 

 

 

 



Verification

We could place the file, that needs to be transfered to Airwave 8.2.4 in C:\TFTP-Root directory, in this below example, i kept a file called testing:

AirWave Management Platform 8.2.4 on localhost.localdomain
  1  Upload File
  2  Download File
  3  Delete File
  4  Backup
  5  Restore
  6  Support
  7  Upgrade
  8  Advanced
  9  Security
 10  Custom Commands
  q  >> Quit
Your choice: 1

SCP Source (user@host:path): testing@<PC IP>:testing.txt

Password:

Uploading testing@<PC IP>:testing.txt

testing.txt                                                                              100%   14     0.0KB/s   00:00

 

Hit enter to continue, 's' to show output, 'r' to show return code.

 

We could also see the audit logs on the bitvise once the transfer is complete or its fails, in the bitvise panel >> Activity tab:

 

 

 

Version history
Revision #:
3 of 3
Last update:
‎07-26-2017 05:16 AM
Updated by:
 
Labels (1)
Contributors
Comments
CiaranFoster

I setup the Bitvise as shown but how do I then get the upgrade file uo to Airwave and how do I then perform the firmware update as I cannot Putty in as root anymore?!

 

There seems to be a whole section missing which details what to do from the Airwave GUI to then get the file up from the SSH server.

 

 

rajo7

Hello

As online upgrade failed due to the public CA certificate does exist in AMP, adding it requires root access. Apparently it is not possible to upgrade from 8.2.4 without TAC as it needs root access too.

 

Is there any workaround?

Can you tell me how I can reset the .ssh/known_hosts file on 8.2.6.1?

 

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
06:e2:38:40:27:96:f5:fd:3b:0f:8a:9a:9a:2a:0b:1c.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.

maulerma

Hi!

 

Is this still working with AirWave 8.2.7?

Command output on AirWave Console:

 

SCP Source (user@host:path): xyzzy@192.168.10.2:Wildcard-TW-2020-digicert.pfx
Password:
Uploading xyzzy@192.168.10.2:Wildcard-TW-2020-digicert.pfx
scp: Wildcard-TW-2020-digicert.pfx: Permission denied.
Error transferring file from 192.168.10.2: scp failed: child exited with code 1
Hit Return to continue ...

 

The login to the Bitvise SSH Server seem to be sucessfull.

 

With kind regards

Manfred M.

I found a workaround by configuring a remote user via the ampadmin menu.

 

8 Advanced >> 7 Add File Transfer User

 

Next I use FileZilla to start a SFTP connection to AirWave to upload the image to the AMP local disk. Works for me!

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: