CopSSH config [CopSSH]
「C:/Program Files/copSSH/home/SecondAdmin/.ssh/config」の中身のサンプルです。
各設定値の解説は、日本語訳のサイト様を参照下さい。
http://www.unixuser.org/~euske/doc/openssh/jman/ssh_config.html
# $OpenBSD: ssh_config,v 1.22 2006/05/29 12:56:33 dtucker Exp $
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for some commonly used options. For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.
# Host *
ForwardAgent no
ForwardX11 no
RhostsRSAAuthentication no
RSAAuthentication no
PasswordAuthentication yes
# 夜間バッチ処理の運用を考えるならパスワード認証は「no」で切った方が良いですが・・・(パスワード要求の画面で待ち続ける状態が回避できます)
HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
BatchMode no
# 夜間バッチ処理の運用を考えるならBatchModeは「yes」で設定した方が良いですが・・・(パスワード要求の画面で待ち続ける状態が回避できます)
CheckHostIP yes
# AddressFamily any
ConnectTimeout 0
StrictHostKeyChecking ask
# 夜間バッチ処理の運用を考えるならStrictHostKeyCheckingは「yes」で設定した方が良いですが・・・(パスワード要求の画面で待ち続ける状態が回避できます)
# IdentityFile ~/.ssh/identity
IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
Port 22
Protocol 2
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
EscapeChar none
Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
PubkeyAuthentication yes
Host localhost
User SecondAdmin
各設定値の解説は、日本語訳のサイト様を参照下さい。
http://www.unixuser.org/~euske/doc/openssh/jman/ssh_config.html
# $OpenBSD: ssh_config,v 1.22 2006/05/29 12:56:33 dtucker Exp $
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for some commonly used options. For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.
# Host *
ForwardAgent no
ForwardX11 no
RhostsRSAAuthentication no
RSAAuthentication no
PasswordAuthentication yes
# 夜間バッチ処理の運用を考えるならパスワード認証は「no」で切った方が良いですが・・・(パスワード要求の画面で待ち続ける状態が回避できます)
HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
BatchMode no
# 夜間バッチ処理の運用を考えるならBatchModeは「yes」で設定した方が良いですが・・・(パスワード要求の画面で待ち続ける状態が回避できます)
CheckHostIP yes
# AddressFamily any
ConnectTimeout 0
StrictHostKeyChecking ask
# 夜間バッチ処理の運用を考えるならStrictHostKeyCheckingは「yes」で設定した方が良いですが・・・(パスワード要求の画面で待ち続ける状態が回避できます)
# IdentityFile ~/.ssh/identity
IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
Port 22
Protocol 2
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
EscapeChar none
Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
PubkeyAuthentication yes
Host localhost
User SecondAdmin
コメント 0