Tech

SecureCRT

onesixx 2009. 8. 17. 13:15
반응형

 

자동로그인하는 방법

1.  File> connect…
    등록해두었던 서버 선택후 오른클릭>Properties )

2-1. only 로그인

    Connection>logon Actions
      Automate login 체크선택

image

    *==> Logon Script .

2 – 2.  로그인 + 다른 작업
Logon Scripts (연결시  초기 작업을 위한  스크립트) import

dreamy_alice 님의 예제

#$language = "VBScript"
#$interface = "1.0"

' script for logging in to multiple servers

Sub main

' turn on synchronous mode
crt.Screen.Synchronous = True

' login name
crt.Screen.WaitForString "LOGIN ID:"
crt.Screen.Send "dreamy_alice" & VbCr

' password
crt.Screen.WaitForString "PASSWORD:"
crt.Screen.Send "mypassword" & VbCr

' 기타하고 싶은 작업들 난 늘 가는 logs 디렉토리로 고고~
crt.Screen.WaitForString "$"
crt.Screen.Send "cd /env/tomcat4/logs/" & VbCr

' turn off synchronous mode
crt.Screen.Synchronous = False

End Sub

 

화면설정

Options > Session Options
Terminal > Emulation

Emulation의 Terminal을 Linux로 변경

 

- 폰트변경

Terminal > Apperance를 선택하고 원하는 콘솔 화면을 세팅해주면.. 그나마 볼만해진다.
오른쪽의 Fonts를 Character encoding을 UTF-8로하고, 한글이 지원되는 폰트를 선택해야 한글이 제대로 나온다.

image

 

- 화면색 변경

Terminal > Apperance
Current color scheme 에서 Edit버튼
(또는 Option > Global Option --- Terminal>Appearance> Advaced   Edit버튼)

원하는 모양으로 변경

image 

SecureCRT 환경설정 백업 및 복원 방법


환경설정 파일 저장위치 (숨김풀고.)
C:/Documents & Settings/사용자 계정/Application Data/VanDyke/Config

나중에 필요할 경우 위 폴더를 덮어쓰기 함.

<참조>
http://www.superuser.co.kr/software/SecureCRT/SecureCRT.htm
http://www.vandyke.com/support/tips/loginscript.html
http://tktg.tistory.com/20
http://blog.naver.com/dreamy_alice/100064913909
http://comzil.com/1200
http://todayis.tistory.com/187

반응형

'Tech' 카테고리의 다른 글

바탕화면 D 드라이브로  (0) 2009.10.06
Total commander 단축키  (0) 2009.09.20
Total Commander  (1) 2009.09.07
클립보드의 내용을 지울 수 없습니다  (0) 2009.08.06
엑셀 배열 - 대괄호 { }  (1) 2009.08.06
수식이 값으로 변환이 안될때  (0) 2009.07.15