第 37 章 OpenSSH

目錄

37.1. 安裝 OpenSSH
37.2. /etc/ssh/
37.2.1. sshd_config
37.2.1.1. Authentication 配置
37.2.1.2. Automatic SSH / SSH without password
37.2.1.3. disable password authentication
37.2.1.4. GSSAPI options
37.2.1.5. 忽略known_hosts檔案
37.2.2. ssh_config
37.2.2.1. ForwardAgent
37.2.3. ~/.ssh/config
37.3. OpenSSH Tunnel
37.3.1. SOCKS v5 Tunnel
37.4. ssh-keygen — authentication key generation, management and conversion
37.4.1. .ssh/known_hosts
37.5. ssh-keyscan
37.6. ssh-copy-id - install your public key in a remote machine's authorized_keys
37.7. ssh-agent
37.7.1. ssh-add
37.7.2. Lock / Unlock agent
37.7.3. Set lifetime (in seconds) when adding identities.
37.8. OpenSSH for Windows
37.8.1. Putty Client
37.9. FAQ
37.9.1. Pseudo-terminal will not be allocated because stdin is not a terminal.
37.9.2. 去掉 passphrase
37.9.3. 打印調試信息

37.1. 安裝 OpenSSH

使用下面命令安裝OpenSSH

sudo apt-get install ssh