> For the complete documentation index, see [llms.txt](https://joungkyun.gitbook.io/annyung-3-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://joungkyun.gitbook.io/annyung-3-user-guide/annyung3-package-catalog/annyung3-base-packages/pkg-base-openssh.md).

# openssh

## Description:

An open source implementation of SSH protocol versions 1 and 2

## Changes on AnNyung:

1. X 의존성 제거
2. 서버 기본 설정 변경 (*/etc/ssh/sshd\_config*)
   * KeyRegenerationInterval 0
   * UseDNS no
   * GSSAPIAuthentication no
   * X11Forwarding no
   * Banner /etc/issue.net
   * AcceptEnv 에 USER\_LANG 환경 변수 추가
3. 클라이언트 기본 설정 변경 (*/etc/ssh/ssh\_config*)
   * GSSAPIAuthentication no
   * ForwardX11Trusted no
   * SendEnv 에 USER\_LANG 환경 변수 추가
4. Banner 지시자에 지정된 파일(/etc/issue.net\_)에 Magic Cookie 지원
5. ssh client에서 IDN 지원

   ```bash
   [root@an3 ~]$ ssh 청와대.com -v
   OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
   debug1: Reading configuration data /etc/ssh/ssh_config
   debug1: /etc/ssh/ssh_config line 49: Applying options for *
   debug1: Connecting to 청와대.com [211.234.63.232] port 22.
   ^C
   [root@an3 ~]$
   ```
6. host key check skip 옵션 추가 (*-H*)
   * 아래 예제는 둘다 동일한 방법임.

     ```bash
     [oops@an3 ~]$ ssh -H test.com
     [oops@an3 ~]$ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no test.com
     ```

## Sub packages:

* **openssh-clients** - An open source SSH client applications
* **openssh-keycat** - A mls keycat backend for openssh
* **openssh-ldap** - A LDAP support for open source SSH server daemon
* **openssh-server** - An open source SSH server daemon
* **openssh-server-sysvinit** - The SysV initscript to manage the OpenSSH server.
* **pam\_ssh\_agent\_auth** - PAM module for authentication with ssh-agent


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://joungkyun.gitbook.io/annyung-3-user-guide/annyung3-package-catalog/annyung3-base-packages/pkg-base-openssh.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
