Users

All Posts (20)

avatar

!BRNDMG

WinSCP S3 Path URI Style

avatar
avatar
avatar

Hi Dev-Team,

it would be nice to have an option for WinSCP to support Path URI Style. Since WinSCP 5.16 this option is supported. This feature makes it possible to browse S3 storages like Dell ECS and other types in URI Style.

Commandline argument for enabling URI Style for WinSCP sessions is: /rawsettings S3UrlStyle=1

Fo more info, here is the WinSCP bugtracker:

https://winscp.net/tracker/1632

For RDM another Protocol option (like "S3 URI Style") in the session properties for WinSCP sessions would be nice, that is passing the argument above to WinSCP.exe.

Thanks!

Best Regards

Alex

Auto-update VMRC entries with vm-ids

avatar
avatar
avatar

Hi Alexandre,

many thanks for the snippet!

Just wanted to let you know: It works!

1st class support! :)

Best Regards

Alex

Auto-update VMRC entries with vm-ids

avatar
avatar
avatar

Hi,

thanks for the reply!

I looked at the synchronizer: It also uses PowerCLI. So there must be code available for updating the entries. I suppose the devs should know it.

The Synchronizer itself is nice, but our VMware environment differs from by RDM environment (other folder structure, etc.). So this is unfortunately no solution to my problem.

I also work with a lot of templates, for example for a new Linux Server, it automatically creates a server folder. Structure is as follows:

Folder: Domain

Name: <some_domain_name>

Domain: $DOMAIN_NAME$

Folder: Server (Subfolder of the domain)

Name: <hostname>

Host: $COMPUTER_NAME$.$DOMAIN_NAME$

And the template creates different sessions under the Server folder, using RDM variables, e.g.:

Session Name: SSH

Host: $COMPUTER_HOST$

And different other settings like: Keep alive, etc.

Session Name: WinSCP

Host: $COMPUTER_HOST$

Path: /home/%USERNAME%

Local path: %USERPROFILE%\Downloads

...

Session Name: VMRC

Server: <FQDN of our vcenter>

VM ID: <to be fetched by self written PowerCLI ;)>

I use this highly variable template concept of RDM for all types of connections. So if a new server is added, you only got to change the name on create entry by template dialogue and all subconnections directly work due to the use of RDM variables.

I also got templates creating ESXi Servers for different manufacturers with prefilled RSA session like iDRAC, iRMC and so on... This is really handy and using the synchronizer would conflict with that concept..

Best Regards

Alex

Auto-update VMRC entries with vm-ids

avatar
avatar
avatar

Hi!

I am messing around with my VMRC entries. I would like to fetch the vm-ids through vcenter and update my RDM entries on demand.

# Fetching VM ID from vCenter

Connect-VIServer -Server virtualcenter.mydomain.tld

# Create a view holding VM Name and Moref

$View_Moref = Get-View -ViewType VirtualMachine | Select -Property Name, @{N='Moref';E={$_.Moref.Value}};

# Get ID for the VMs

$View_Moref | Where Name -eq 'mytestvm' | Select -Property Moref

My problem is creating the RDM entry:

# Working example for getting the VMid:

Get-RDMSession -Name "VMRC" -Group "MY_COMPANY\COUNTRY\CITY\Server\internal\FUNCTION\DOMAIN\HOSTNAME" | Select-Object -ExpandProperty AddOn | Select-Object -ExpandProperty Properties | Select-Xml -XPath "//VmrcConfiguration" | Select-Object -ExpandProperty Node | Select-Object -ExpandProperty VMid

I cannot edit the ID above, tried different methods:

- Exporting, editing, importing doesn't work, because the XML section containing the info is encrypted, like:

...

<AddOn>

<AddOnVersion>2019.1.38.0</AddOnVersion>

<Properties>hZBNSwMxEIbvgv9hyb3JbosIJU0pgniwR5Z2Dk9uJdM0FCG8OGdbxlW3V/J48+9U8xnOyYk6bCmuIFXF9wI...=</Properties>

</AddOn>

...

I also tried to manually edit the exported file with unencrypted content, but import fails then:

<?xml version="1.0"?>

<VmrcConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<AuthPassthrough>false</AuthPassthrough>

<Fullsreen>false</Fullsreen>

<Hostname>virtualcenter.mydomain.tld</Hostname>

<VMid>vm-1031752</VMid>

<VMName>vm-1031752</VMName>

</VmrcConfiguration>

- I also tried to manipluate the object with PS, bu cannot write it back:

[Xml] $Xml = New-Object XML

$XmlContent = Get-RDMSession -Name "VMRC" -Group "MY_COMPANY\COUNTRY\CITY\Server\internal\FUNCTION\DOMAIN\HOSTNAME" | Select-Object -ExpandProperty AddOn | Select-Object -ExpandProperty Properties

$Xml.LoadXml($XmlContent)

$Element = $Xml.SelectSingleNode("//VmrcConfiguration")

$Element.VMid = 'Test'

And Set-RDMSessionProperty didn't get me anywhere:

Set-RDMSessionProperty -ID "{25719ea2-e1b6-4a85-9998-f7a5d212763e}" -Path "Addon" -Property "Properties" -Value 'Test'

Set-RDMSessionProperty -ID "{25719ea2-e1b6-4a85-9998-f7a5d212763e}" -Path "VmrcConfiguration" -Property "VMid" -Value 'Test'

=> Always finds not path or property

Any help on this is appreciated!

Thanks and best regards

Alex

Firefox - Really portable

avatar
avatar
avatar

Just found out, that firefox even works embedded that way:

New commandline session:

General:

$APPLICATION_PATH$\_apps\Firefox\firefox.exe

Parameter:

-no-remote -profile "$APPLICATION_PATH$\_apps\Firefox\_rdm"

Process: firefox.exe

;)

Fujitsu iRMC Quick Connect

avatar
avatar
avatar
avatar
avatar

For a more modular approach the following URL also works, just tested it:

https://<IRMC_SERVER_GOES_HERE>/login?APPLY=99&P99=$USERNAME$

Fujitsu iRMC Quick Connect

avatar
avatar
avatar
avatar
avatar

Hi all,

I managed to get iRMC S4 working the following way:

- Add a web session (chrome, embedded)

- URL: https://<IRMC_SERVER_GOES_HERE>/login?APPLY=99&P99=admin

=> In this example I used the admin user (change to P99=<USERNAME> for other users)

- Force HTTPS

- Ignore certificate errors, if you got the self-signed one

- Tab: Username

=> Authentication: Base

=> [X] Auto fill

=> [X] Auto send

Hope this helps sbd. :)

RDM 2 .NET Core

avatar
avatar
avatar

Thank you for the information!

I can imagine, that this is a long-term big challenge, but in my opinion it will be worth the effort and make RDM even more unrivaled ;-)

RDM 2 .NET Core

avatar
avatar
avatar

Hello devs,

just a suggestion for the long term road map ;-)

Would it be possible to switch RDM development to .NET Core (3.0)?

=> That would make it possible to build RDM for Windows, Linux and MacOS in a single development environment

=> All supported operating systems would have the same features

=> No need to develop different versions for different OSes

=> PowerShell is also available for all 3 OSes above

WinSCP: Define local + remote path

avatar
avatar
avatar
avatar

Just found out, that the password for the private key can also be passed via commandline, maybe that helps to fully implement WinSCP:

winscp.exe scp://USERNAME:PASSWORD@somehost.eu:22/var/log/ /privatekey=D:\PuTTY\KEYFILE.ppk -passphrase=PASSWORD /rawsettings LocalDirectory=%USERPROFILE%\Downloads

The underlined PASSWORD is for the PK, the other one for login without using PK...

Both can be filled, no issues there. Would be nice, if that will be fully implemented :)

Firefox - Really portable

avatar
avatar
avatar

https://www.mozilla.org/en-US/security/advisories/mfsa2019-18/

is a good example:

- Zero Day security bug

- fixed in 67.03

- With the above instructions, I directly patched my firefox portable

- https://portableapps.com/de/apps/internet/firefox_portable

=> Latest version 67.02 ;-)

WinSCP: Define local + remote path

avatar
avatar
avatar
avatar

winscp.exe scp://<USERNAME>:<PASSWORD>@somehost:22/var/log/ /privatekey=C:\PuTTY\Keyfiles\private.ppk /rawsettings LocalDirectory=%USERPROFILE%\Downloads

=> Would open a scp session with /var/log directory on remote site and C:\Users\<USERNAME>\Downloads directory on local drive

HTH :)

WinSCP: S3 protocol missing

avatar
avatar
avatar
avatar

Just got RDM 2019.1.29.0: It works! Thank you for the fast implementation :)

WinSCP portable - saved sessions

avatar
avatar
avatar

Just got RDM 2019.1.29.0: It works! Thank you for the fast implementation :)

WinSCP: Define local + remote path

avatar
avatar
avatar
avatar

Hello Dev-Team,

according to the Service Desk, remote and local path settings in WinSCP sessions are not implemented yet.

They only work on Filezilla sessions.

WinSCP itself supports the option to set a local and a remote path, so it would be nice to have that implemented in RDM, too.

Thank you for reading :)

WinSCP portable - saved sessions

avatar
avatar
avatar

Nice - Many thanks! I'm looking forward to test it :)

WinSCP: S3 protocol missing

avatar
avatar
avatar
avatar

That's great news! Thank you! :)

WinSCP: S3 protocol missing

avatar
avatar
avatar
avatar

WinSCP supports Amazon S3. But that protocol option is not available in RDM settings, when creating a new session.

Firefox - Really portable

avatar
avatar
avatar

If you download Firefox and extract the content of the setup file by using a decompression tool, like 7-Zip, you'll find the folder "core".

It contains all files needed for a portable Firefox installation.

If you start firefox.exe using the following parameters, a fully portable version is started (incl.) support for Add-Ons like Devolutions Weblogin:

-no-remote -profile ".\_rdm"

If RDM could include an option (in path settings) for Firefox, to pass the parameters above to firefox.exe, that would be awesome!

I suggest the following options:

[X] Start Firefox in portable mode (maybe with a mouse over explaining how to extract Firefox)

=> That option should pass the "-no-remote" flag to firefox.exe

[X] Custom profile path for Firefox:

=> Field to enter the path for the desired profile (e.g. ".\_apps\Firefox\_rdm")

=> Profile directory will be created below the Firefox folder

This has multiple advantages:

  • No need to wait for Portable Apps to create an up-to-date portable version of Firefox

  • A really portable installation using native 64-Bit Firefox possible

  • Launch of multiple Firefox instances on the same PC

  • Add-On detection would work, because RDM only needs to check the path for Add-Ons (e.g. ".\_apps\Firefox\_rdm\extensions\DWLFirefox@devolutions.net.xpi")

WinSCP portable - saved sessions

avatar
avatar
avatar

When using WinSCP in portable mode (official executables by WinSCP), the path in RDM path options can be adjusted and it works fine as long, as you don't use sessions saved in WinSCP portable.

Sessions are saved in WinSCP.ini of the WinSCP installation directory and those are not parsed by RDM. I think RDM looks only into Windows registry for finding saved WinSCP sessions.

Maybe an option in path settings like "[X] Use WinSCP.ini in installation directory" would be the best solution:

  • Without the option set: The registry is searched

  • With option set: The INI file is parsed for saved sessions

1 - 20 of 20 items