문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
windows:ssh:putty [2021/09/14 23:10] kwon37xi |
windows:ssh:putty [2022/06/23 23:34] (현재) kwon37xi [Putty SSH Tunnel] |
||
---|---|---|---|
줄 12: | 줄 12: | ||
===== 접속 끊김 방지 | ===== 접속 끊김 방지 | ||
* **설정-> | * **설정-> | ||
+ | |||
+ | |||
+ | ===== Password 저장 ===== | ||
+ | * putty 는 기본적으로 비밀번호를 UI를 통해 저장할 수 없고, 명령행을 통해서 접속시에만 지정가능함. | ||
+ | * [[https:// | ||
+ | |||
+ | <code sh> | ||
+ | # 명령행을 통해 저장돼 있는 특정 세션에 접속 | ||
+ | putty -load " | ||
+ | |||
+ | # 특정 세션 접속시 비밀번호 지정 | ||
+ | putty -load " | ||
+ | |||
+ | # 호스트 기준 | ||
+ | putty -ssh < | ||
+ | putty -ssh somewhere.com -l < | ||
+ | </ | ||
+ | * '' | ||
===== Pageant 자동 로그인 ===== | ===== Pageant 자동 로그인 ===== | ||
줄 25: | 줄 43: | ||
* [[http:// | * [[http:// | ||
+ | ===== plink - proxycmd ===== | ||
+ | * putty 를 통한 접속을 plink proxycmd 를 통하게 할 수 있다. | ||
+ | * [[https:// | ||
+ | * proxycmd 는 특정 명령을 통해 proxy 서버와의 접속을 생성하고, | ||
+ | * **Connection -> Proxy -> Local** 에 지정한다. | ||
+ | * **Local Proxy Command**에 아래와 같은 형태로 지정한다. | ||
+ | * '' | ||
+ | * [[https:// | ||
+ | < | ||
+ | plink %user@%proxyhost -P %proxyport -nc %host:%port | ||
+ | </ | ||
+ | * [[https:// | ||
===== PuttyGen ===== | ===== PuttyGen ===== | ||
* 개인키/ | * 개인키/ | ||
줄 36: | 줄 66: | ||
sudo puttygen ppkkey.ppk -O private-openssh -o pemkey.pem | sudo puttygen ppkkey.ppk -O private-openssh -o pemkey.pem | ||
</ | </ | ||
+ | |||
+ | ===== putty 에서 ppk 직접 사용 ===== | ||
+ | * **Connection -> Data -> Auto-login username** 항목에 로그인 username 지정. | ||
+ | * **Connection -> SSH -> Auth -> Private key file or authentication: | ||
===== Putty SSH Tunnel ===== | ===== Putty SSH Tunnel ===== | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
<code sh> | <code sh> | ||
줄 52: | 줄 87: | ||
{{: | {{: | ||
- | ===== Password 저장 | + | ===== Function F1~F12 안먹는 현상 |
- | * putty 는 기본적으로 비밀번호를 UI를 통해 저장할 수 없고, 명령행을 통해서 접속시에만 지정가능함. | + | * Linux 용 putty에서 펑션키가 안 작동하면 |
- | * [[https:// | + | * **Terminal |
- | + | ||
- | <code sh> | + | |
- | # 명령행을 통해 저장돼 있는 특정 세션에 접속 | + | |
- | putty -load " | + | |
- | + | ||
- | # 특정 세션 접속시 비밀번호 지정 | + | |
- | putty -load " | + | |
- | + | ||
- | # 호스트 기준 | + | |
- | putty -ssh < | + | |
- | putty -ssh somewhere.com -l < | + | |
- | </ | + | |
- | | + | |
===== Putty Quake Console ===== | ===== Putty Quake Console ===== | ||
줄 83: | 줄 105: | ||
* http:// | * http:// | ||
* https:// | * https:// | ||
+ | |||
+ | ===== 참조 ===== | ||
+ | * [[https:// | ||