Ciscoworks topology services ssh

Unanswered Question
Jun 6th, 2008

In topology services you can configure a ssh client like eg. putty, when a file is created in the users profile directory in a file named "campusmgr.properties"

When I try to configure CecureCRT in this file like: "CMSSH=C:\\PROGRA~1\\SecureCRT\\SecureCRT.EXE" this tool the ssh client starts with a error message: Connection to session <username>@<ip adress> failed: Hostname lookup failed: no ip adres associated to hostname.

It looks like the @ causes the problem, but Ciscoworks adds this automatically to the ip adres of the device you want to connect to.

Does anyone know how to configure this the right way? Much appreciated.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Fri, 06/06/2008 - 08:45

Your SSH program needs to be able to support that notation. This works with OpenSSH, Data Fellows SSH, and PuTTY. I'm not sure if there is a way of teaching SecureCRT to accept that syntax.

KAROLY KOHEGYI Thu, 10/30/2008 - 04:14

Hi,

If you want to use the SecureCRT from Topology Services call the following script from CMSSH. ( CMSSH=SSHStart.vbs)

Dim WSHShell

Dim UsernameAndHost, Username, Hostname, kukachelye, hossza

Set WshShell = WScript.CreateObject("WScript.Shell")

If Wscript.Arguments.Count > 0 Then

UsernameAndHost = Wscript.arguments.Item(0)

kukachelye = instr ( UsernameAndHost, "@" )

hossza = Len ( UsernameAndHost )

Username = ( Left (UsernameAndHost, kukachelye - 1 ) )

Hostname = ( Right (UsernameAndHost, hossza - kukachelye ) )

WSHShell.Run "SecureCRT.EXE /SSH2 /L " + Username + " " + Hostname

End If

Actions

This Discussion