Hello,
in order to conveniently remove some directories and files in a test-repository (no hardened repository) on a VIA-based Veeam Hardened Repository server, I would like to use WinSCP.
As soon as SSH is activated in the VIA-GUI on the system, you can connect via WinSCP and SCP protocol, but I am unable to activate sudo access in order to browse the /var/lib/veeam subdirectory.
I used the Advanced button in the WinSCP session window, selected Environment => SCP/Shell and used 'sudo su -' in the Shell field. Then I tried to connect and was immediately rejected with the error ...
"Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended)."
Then I changed the entry in the Shell field to '/bin/bash', saved the connection and was able to connect, but without sudo permission, which is necessary in order to browse /var/lib/veeam subdirectory.
How can I connect with sudo permission?
Thank you.
P.S: I am well aware about the sensitivity of /var/lib/veeam subdirectory. I am just looking for an alternative to using the shell on the server itself and use commands to remove unnecessary subdirectories and files from failed BackupCopy jobs.
-
Didi7
- Veteran
- Posts: 596
- Liked: 98 times
- Joined: Oct 17, 2014 8:09 am
- Location: Hypervisor
- Contact:
Opening Veeam Hardened Repository in WinSCP ...
Using the most recent Veeam B&R in many different environments now and counting!
*** Nominated for being the earliest early adopter of VSA ***
*** Nominated for being the earliest early adopter of VSA ***
-
chris.childerhose
- Veeam Vanguard
- Posts: 716
- Liked: 191 times
- Joined: Aug 13, 2014 6:03 pm
- Full Name: Chris Childerhose
- Location: Toronto, ON
- Contact:
Re: Opening Veeam Hardened Repository in WinSCP ...
I am pretty sure, no matter what, you will not be able to do this. The appliances are locked down for a reason, and you will need the console for this.
-----------------------
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
Chris Childerhose
Veeam Vanguard / Veeam Legend / Veeam Ceritified Architect / VMCE
vExpert / VCAP-DCA / VCP8 / MCITP
Personal blog: https://just-virtualization.tech
Twitter: @cchilderhose
Who is online
Users browsing this forum: Google [Bot] and 67 guests