Skip to content

Instantly share code, notes, and snippets.

@Maisy
Last active January 10, 2023 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Maisy/37effb24fdb2b0546ba4b4ea91faec3b to your computer and use it in GitHub Desktop.
Save Maisy/37effb24fdb2b0546ba4b4ea91faec3b to your computer and use it in GitHub Desktop.

terraterm 접속때마다 user id, pw를 입력하기 귀찮아서 작업

  • 시작표시줄 아이콘 클릭한번으로 terminal 에 접속할수있도록
  1. sample.bat 파일 작성
start "" "C:\Program Files (x86)\teraterm\ttermpro.exe" 182.1.1.1 /ssh2 /auth=password /user=ubuntu /passwd=samplepw
  1. bat파일을 시작표시줄에 고정
  • sample.bat파일 바로가기를 만든다.
  • 바로가기 파일 속성 - 대상(T)를 수정한다. 앞에 cmd.exe /c를 붙임.
    C:\Windows\System32\cmd.exe /c "C:\Users\Maisy\Documents\terraterm-connect\sample.bat"

(3. 알아보기 쉬운걸로 바로가기파일 아이콘 변경)

  1. 시작표시줄에 DnD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment