Users

All Posts (39)

avatar

pilkins

SSH Shell Colours

avatar
avatar
avatar
avatar
avatar

Excellent. Thanks!!

SSH Shell Colours

avatar
avatar
avatar
avatar
avatar

James,

That just seems to change the colour of the session entry in the Navigator and/or the tab colour?

I want to be able to change the colour of the text in the terminal session (the default is white text on black).

Thanks,

Steve

SSH Shell Colours

avatar
avatar
avatar
avatar
avatar

Hi,

I have looked around the SSH Shell options and cant seem to find any way to set the terminal colours.

Is this possible?

Thanks,

steve

Accessing COMPANY variables from subconnections

avatar
avatar
avatar
avatar

No problem.

For info - I have noticed that the problem also still exists for PuTTY sessions - but only if they are sub connections.

Cheers,

Steve

Rebex Deprecated - SSH Gateway/Jump Host Options

avatar
avatar
avatar

We have been using the Rebex SSH session type to connect to client systems via our internal SSH gateway (an OpenSSH server). We use the SSH Gateway/Jump Host tab to specify our SSH server as the intermediate host and then connect out to our client systems. This works quite well and involves authentication on the gateway (which we prompt for) and then use the credential repository for the client target.

This gives us seamless access to client systems from a trusted host / IP address.

Given that Rebex is now being deprecated, is there a way I can setup the same options for Putty or the new builtin SSH Client?

Cheers,

Steve

Accessing COMPANY variables from subconnections

avatar
avatar
avatar
avatar

Hubert, I am now running 12.5.8.0 and still have the issue with specific settings.

I am using a Rebex SSH sessions which is a sub-connection of a host session.

I have a simple macro to display the $COMPANY_CUSTOM_FIELD1$

In this setup, the macro does not display the correct value of the field- it just displays the field name.

If I "unparent" the Rebex SSH sub-connection it works fine. Other subconnections (Notepad and Putty) also work OK.

Cheers,

Steve

Ideas for enhanced variable processing functions

avatar
avatar
avatar
avatar

The variables are a great feature within RDM but there are times when we want to modify the values that get used.

Adding some simple functions would allow additional flexibility.

For example, adding some @FUNCTIONS loosely based on Excel macros.

@IFBLANK - e.g. @IFBLANK($CUSTOM_FIELD_1$,DEFAULT) - Returns "DEFAULT" if the $CUSTOM_FIELD_1$ is blank or $CUSTOM_FIELD_1$ otherwise

@LEFT/RIGHT/MID - e.g. @LEFT($HOST$,4) - Returns the first four characters of the host field

@WORD - e.g. @WORD($NAME$,1) - Returns the first space delimtted work from the name field

@UPPER/@LOWER - e.g. @UPPER($HOSTS$) - Returns the UPPER case string of the host field

@REPLACE - e.g. @REPLACE($HOSTS$,OLD,NEW) - Replaces the string OLD with NEW in the host field

I am sure there are other functions, these were just some ideas.

Cheers,

Steve

Warning message when variables are blank

avatar
avatar
avatar

Hi,

Would it be possible to have a global setting (with a per session override) that displays a warning dialog if variables are being used that are blank?

I have a number of simple send key macros that use session variables and parent / company level variables to create some CLI commands for an SSH session. This command string is basically an ftp copy command and uses the company level variables to define the FTP username.

However, if the correct variables have not been given values the send key strings are incorrect and I would like a warning message so that the user can cancel out of the macro before the command is sent to allow them to correctly set the variables first.

The use of a global setting and a per session override would ensure existing functionality doesn't change. But we could then "override" the macro to enable the warning message if it uses blank variables. Overrides could also be used directly on the session where we reference variables for the internal and external IP address and if these are not set in the custom fields, then a warning dialog could also be displayed when the session is started.

Does this make sense?

Cheers,

Steve

Powershell Macros on Sub Connections

avatar
avatar
avatar
avatar

Hi Michaël

Thanks for the update. I have retested and you are correct that it works if I have data in the Host field for the subconnection (Notepad!).

Could you see if there is a reason PS macros do not appear in the popup dialog window from the Home\Macro Scripts button?

(I can only access the Macro from the right click menu on the connection)

Cheers,

Steve

Powershell Macros on Sub Connections

avatar
avatar
avatar
avatar

Hi Michaël

I am using a Host entry with a sub-connection added via the popup menu (New Entry, New Sub Connection), The sub-connection is just a Command Line running Notepad (but tried with others like Putty).

I can right click on the Host connection and select Macro/Scripts/Tools and select my PS Macro (which is a Macro that just outputs some text for testing). It then runs a new PS session and displays "Hello World".

If I right click and do the same action on the Notepad Sub-connection nothing happens.

Also, I have tried to use the Macro/Script Button (on the Home tab) , rather than right clicking on the entry but this does not seem to show the PowerShell Macros - is there a reason for this?

Cheers,

Steve

Custom Parameters (prompted) for all sessions

avatar
avatar
avatar

Hi,

Would it be possible to add the same feature for Custom Parameters that are in Command Line sessions to all session types?

I want to prompt the user for a destination port when creating a SSH Tunnel, rather than having it hard coded.

Currently, I can only find/use the Custom Parameters which prompt the user for values when connecting for Command Line sessions.

Cheers,

Steve

Hostname field

avatar
avatar
avatar
avatar

Ok. I have just retested with $INFORMATION_MACHINE_NAME$ and it now works.

I think the problem was that although the value was saved, it did not work until I restarted the session

(I was just using NOTEPAD for testing and it displayed nothing until I closed the notepad session and restarted it just now)

Anyway, working now so thanks!!

Cheers,

Steve

Hostname field

avatar
avatar
avatar
avatar

I have been testing the latest release (12.5.6.0) and can now see the host name field.

But what is the variable name for that field?

I have tried "INFORMATION_HOST_NAME", "INFORMATION_HOSTNAME", "HOST_NAME" and "HOSTNAME" - but all just return the variable name.

I also tried "INFORMATION_MACHINE_NAME" but this just returns blank?

Thanks,

Steve

Execute Script in Terminal and Variables..

avatar
avatar
avatar
avatar

Great service.

Thanks.

Manufacturer and Model fields

avatar
avatar
avatar

Great thanks.

Steve.

Manufacturer and Model fields

avatar
avatar
avatar

It would seem to make sense to have Manufacturer and Model fields in the Information/Hardware tab or possibly the Information/General tab?

Cheers,

Steve

Powershell Macros on Sub Connections

avatar
avatar
avatar
avatar

Many thanks,

Steve.

Execute Script in Terminal and Variables..

avatar
avatar
avatar
avatar

The other thing I have noticed, which I don't really understand why is that the "Execute Script in Terminal" button only displays for a Rebex session and not for other session types - namely Putty. Is there a reason for that?

Cheers,

Steve

Execute Script in Terminal and Variables..

avatar
avatar
avatar
avatar

Hubert,

I have PM'd you the RDM file containing the Rebex SSH entry and the Macro.

Cheers,

Steve

Macro/Scipt Execute in Current Tab and Alternate Host entires

avatar
avatar
avatar
avatar

Wow - impressive turn around!

Any timescales on the release?

Thanks,

Steve

Powershell Macros on Sub Connections

avatar
avatar
avatar
avatar

Hi,

Been pulling my hair out with this for several hours - trying to run a Powershell Macro against a sub-connection.

Basically it doesn't do anything - no window pops up and nothing runs!

I have a simple PS Macro that just does a Write-Host "Hello World" command. If I execute this on a folder or connection I get a PS window and the "Hello World" message. If I run this on a sub-connection, nothing happens at all....

Running 12.5.4.0. I could upload a screen shot - but there is nothing to show!

Cheers,

Steve

Macro/Scipt Execute in Current Tab and Alternate Host entires

avatar
avatar
avatar
avatar

Thanks,

Steve

Accessing COMPANY variables from subconnections

avatar
avatar
avatar
avatar

Thanks.

Steve

Execute Script in Terminal and Variables..

avatar
avatar
avatar
avatar

I am using 12.5.4.0 - the latest...

The connections are sub-connections of a host entry - if that makes a difference.

Steve.

Macro/Scipt Execute in Current Tab and Alternate Host entires

avatar
avatar
avatar
avatar

During some macro testing, I have come across a minor issue with Macro/Scripts and executing them in the current tab.

If we have a host entry that has Alternate Hosts set in the "More" page with the option "Prompt for Selection" selected and then execute a macro from the Macro/Script dialog, pressing the "Execute in Current Tab" button - there is a popup dialog before the macro executes asking me to select the host address.

This doesn't really make sense - as the session is active - and I clicked "Execute in current tab"....

I have attached screen shots of the Alternate Hosts settings and the dialog that pops up after I click the execute in current tab button....

Running the latest release 12.5.4.0.

Cheers,

Steve

1 - 25 of 39 items