New Airwave 8.2.4+ command line instructions for SCP using Mac
07-25-2017 02:47 PM
Since I had such a (long-term) headache getting a support_connection.tar file uploaded to Airwave in version 8.2.4, I want to leave instructions for everyone else so they don't also have this headache. These instructions are for Mac only as I could not get it to work using the Solarwinds SCP server program for Windows.
Before I get into this, a note to HPE Aruba: This new process sucks! I understand your desire to not let the end customer have full root access, but the fact that you need to upload a file for support (and only one very specific way to upload that file) is just a bad user experience. Why can't you do what ClearPass does (generate support keys, then copy and paste)? That would be much easier. Or, let us upload support_connection.tar via the web GUI or (T)FTP.
Here's how I finally got it to work:
- Upgrade to 184.108.40.206 or higher. 8.2.4 did not work for me under any circumstance. Specifically, it would compain about a cypher mismatch on my Mac. This went away with 220.127.116.11.
- On your Mac, go to System Preferences and click Sharing.
- Check the box for Remote Login. If already checked, just click Remote Login without clearing the checkbox.
- Add your username under the "Allow access for" section (or say "all users")
- Check the box for File Sharing. If already checked, just click File Sharing without clearing the checkbox.
- Under Shared Folders, add your account's Public folder. It may be there by default.
- Move your support_connection.tar file into your Public folder
- SSH to Airwave using ampadmin credentials.
- Choose option 1 to upload a file.
- Use the syntax: username@yourIP:/Users/username/Public/support_connection.tar (Replace username with your actual username in BOTH places and replace yourIP with your own IP address. For example: firstname.lastname@example.org:/Users/tim.haynie/Public/support_connection.tar
I tried this with my Mac and a colleagues Mac. We didn't have any special non-default SSH configurations, either in the /etc/ssh/ folder or the ~/.ssh/ folder. I am running Sierra 10.12.6 on a relatively (1 month) freshly built machine
If this does not work for you, and you needed to make some other change to get it to work, or you find some better way to do this (with Windows or some other platform), please leave that here to help others.
Re: New Airwave 8.2.4+ command line instructions for SCP using Mac
07-26-2017 03:53 AM
Adding to your email we can follow the below KB in case you come across cipher error using MAC,
Also, for windows we could download the BitVise Application(Winsshd server) for windows, using which we could create sftp host on the windows, which can be used to scp the file. You can follow the below KB for that.
If my post helped you, don't forget to give kudos ;)