cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1189
Views
0
Helpful
3
Replies

Problem updating SSM on-prem

DCampus
Level 1
Level 1

Hi,

We're currently running version 8-202304 of SSM On-Prem in our organization. I'd like to upgrade it to version 8-202404.

Here's the issue:

  • I need to copy these two files to the SSM machine:

 

 

SSM_On-Prem_upgrade-8-202404.sh
SSM_On-Prem_upgrade-8-202404.sh.sha256

 

 

  • The destination is

 

 

/var/files/patches

 

 

Unfamiliar Shell Interface:

  • Accessing the machine via SSH reveals a non-standard Linux shell, resembling a Cisco custom interface.
  • I'm using a local admin account with the highest privileges.
  • Typing "help" doesn't provide the usual Linux commands.

DCampus_0-1723028538118.png

WinSCP Access Denied:

  • I can connect to the machine with WinSCP using a local admin account.
  • But, copying files to /var/files/patches results in an "access denied" error.
  • I don't have permission to copy to this folder.

DCampus_1-1723029174309.png

Navigating back to the root directory of the SSM machine allows me to copy files to the /tmp folder using WinSCP.DCampus_2-1723029255499.png

Attempted Workaround:

  • I initially thought I could copy/move the files from the /tmp folder to /var/files/patches within the CLI.
  • However, the "dir" command in the CLI doesn't show any folders, including /tmp.
  • With the expextion of showing onlt these 3 folders:

DCampus_3-1723029379659.png

I've exhausted my ideas and am currently stuck.

Here's the dilemma:

  • I can't move the files already on the machine to /var/files/patches
  • I don't have permission to copy files directly to /var/files/patches

Any suggestions? I'd greatly appreciate any help!

Thank you,

 

3 Replies 3

saduga
Level 1
Level 1

We had the same exact problem due to our on Prem being configured in STIG mode.  We used a Windows Server 2019 with the free Solarwinds SFTP/SCP server installed.  Then use the following command on the CLI of the on Prem  (X.X.X.X = IP of the windows server.

curl -k -u SFTP sftp://X.X.X.X/SSM_On-Prem_upgrade-8-202404.sh -o /var/files/patches/SSM_On-Prem_upgrade-8-202404.sh

McSkyguy
Level 1
Level 1

I have the same problem as dcampus and have tried the exact options for copying the files without success. The process to install an new app in our environment (free Solarwinds especially) is very cumbersome. Is the solution from saduga the only available option?

McSkyguy,

Have you tried a SFTP/SCP server that you may already have in your environment?  I'm sure another one other than Solarwinds will work with that command.