Questions tagged [secure-crt]

SecureCRT for Windows, Mac, and Linux is proprietary software that provides terminal emulation for computing professionals. It provides advanced session management, secure remote access, file transfer, and data tunneling.

65 questions
0
votes
1 answer

How to use WaitForCursor?

I'm using WaitForString command to pause my script until the desired text appears on screen. However I notice that the screen stops "printing" as soon as that happens. I'd rather wait until the whole screen finishes refreshing. I suspect that…
Shawn V. Wilson
  • 1,002
  • 3
  • 17
  • 42
0
votes
1 answer

How can I set iterm2 theme like the secure-crt?

I have been using securecrt for a long time, now I switch to use iterm2, but I cannot set a same color theme in securecrt (session options/Terminal/Emulation, set Terminal to Linux). Any ideas?
tjhack
  • 151
  • 1
  • 1
  • 4
0
votes
1 answer

Object CRT in VB script

Trying to debug the scripts for Secure CRT by Vbsedit Function Get_Session_Path() Get_Session_Path = crt.session.path crt.Dialog.MessageBox("inside Session path" &Get_Session_Path) &chr(13) End Function Trying to compile the above code…
Raghu
  • 313
  • 2
  • 7
  • 19
0
votes
2 answers

SecureCRT could not display some character

For some reason SecureCRT displays wrong character/coding when I ssh into Linux server. For example, following is from man route Gateway The gateway address or ’*’ if none set. Use a different terminal software (ZOC…
Ask and Learn
  • 8,661
  • 8
  • 37
  • 43
0
votes
1 answer

SecureCRT python scripting

I'm writing a script that will find out what router model and what IOS version a Cisco router is using. I'm writing it in Python using the SecureCRT api. The script sends a show version command that displays information about the router, including…
kaboomoxy
  • 1
  • 1
  • 1
0
votes
2 answers

Open SecureCRT using perl

I am using secureCRT. I want to automate secureCRT using perl. I intend to open the secureCRT, enter hostname,username and password and then execute a command in secureCRT. Is there any perl object to work with secureCRT. Is there any command like…
Maximus
  • 143
  • 3
  • 12
0
votes
1 answer

Run a script in remote UNIX using windows command prompt

I currently connect to my UNIX installed on my remote server using Secure CRT. I have a script(sh) on my UNIX which generates a file. I need to su(switch user) before executing the script. I then ftp to this server(using ftp commands in command…
vib
  • 1
  • 1
  • 1
0
votes
1 answer

Network connection lost upon screen remote detach

I'm using secureCRT to ssh to Linux based server. I use "screen" command to keep my sessions alive. But things are becoming strange when I using two PC, OK, here's the scene: On PC-A, start a new screen session named "test"; On PC-B, type screen…
shao
  • 31
  • 3
0
votes
2 answers

ssh and agent forwarding in ubuntu 12.10

I have a machine X, I login to X and issue an ssh somewhere command which uses key authentication, and it works fine. When I ssh to machine X from a 12.10 machine (which does not have my special machine X keys), and try the same command above, it…
Samer Buna
  • 8,821
  • 9
  • 38
  • 55
0
votes
1 answer

keyword colors in emacs on terminal

I am connecting to a server through SecureCRT and am using command line emacs (not X11). Is there a way to get color? In particular, when I code I would like emacs to color keywords etc. Currently everything is either black or white.
Alex
  • 19,533
  • 37
  • 126
  • 195
0
votes
1 answer

how to add multiple command inside if statment

my objective is to check if the switch prompt either ">" or "#" if prompt to ">" to send enable password then the command. if the switch prompt to "#" send just the command. but some reason go to directly to the command with out checking the…
eli1128
  • 134
  • 1
  • 2
  • 11
-1
votes
1 answer

Why do I need to manually input username when connecting to switch with a python script?

I'm converting a VB script that connects to a switch through SecureCRT into Python3. The original script contains: crt.Session.Connect " /SSH2 /L " & user & " /PASSWORD " & pass & " /P 22" & " /ACCEPTHOSTKEYS " & ip This script runs this command…
Shadomew
  • 109
  • 4
-1
votes
1 answer

what's the session of secure-crt?

Our production servers are accessed by jump hosts. For example, if I want to login to host C, I have to ssh to host A. In host A, I could ssh to host B. In host B, then I can ssh to host C. I am using secureCRT as ssh client. I found that When I…
lrouter
  • 349
  • 1
  • 5
  • 20
-1
votes
1 answer

Test if a command outputs an empty string in vbscript

I have the following vbscript command: crt.Screen.Send "cat myfile.txt | grep 'L[0-9]*' " & vbcr I want to know if there is a way to know if the command outputs anything or not, I need to do it in vbscript
Anne Ortiz
  • 133
  • 1
  • 1
  • 5
-1
votes
1 answer

Read output and input each line separately - Python/SecureCRT

I am trying to get a Python script to read the output of a command, then to run multiple commands based on the list it receives. I don't generally write VBS or Python, so I'm getting stuck. (it's ugly) def Main(): objTab = crt.GetScriptTab() …
tek0011
  • 147
  • 1
  • 4
  • 12