vine-users ML アーカイブ



[vine-users:076546] ssh_config について

  • From: aki <denkiraiaki@xxxxxxxxxxxxxx>
  • Subject: [vine-users:076546] ssh_config について
  • Date: Fri, 30 Mar 2007 04:02:03 +0900
こんばんは。

sshで接続できません。
/etc/ssh/ssh_configの内容は以下の通りです。

1 # $OpenBSD: ssh_config,v 1.19 2003/08/13 08:46:31 markus Exp $
2
3 # This is the ssh client system-wide configuration file. See
4 # ssh_config(5) for more information. This file provides defaults for
5 # users, and the values can be changed in per-user configuration files
6 # or on the command line.
7
8 # Configuration data is parsed as follows:
9 # 1. command line options
10 # 2. user-specific file
11 # 3. system-wide file
12 # Any configuration value is only changed the first time it is set.
13 # Thus, host-specific definitions should be at the beginning of the
14 # configuration file, and defaults at the end.
15
16 # Site-wide defaults for various options
17
18 # Host *
19 # ForwardAgent no
20 # ForwardX11 no
21 # RhostsRSAAuthentication no
22 # RSAAuthentication yes
23 # PasswordAuthentication yes
24 # HostbasedAuthentication no
25 # BatchMode no
26 # CheckHostIP yes
27 # AddressFamily any
28 # ConnectTimeout 0
29 # StrictHostKeyChecking ask
30 # IdentityFile ~/.ssh/identity
31 # IdentityFile ~/.ssh/id_rsa
32 # IdentityFile ~/.ssh/id_dsa
33 # Port 22
34 # Protocol 2,1
35 # Cipher 3des
36 # Ciphers
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192- cbc,aes256-cbc
37 # EscapeChar ~
38 Host *
39 ForwardX11 yes
40 PermitRootLogin no


ssh を実行すると、
/etc/ssh/ssh_config: line 40: Bad configuration option: PermitRootLogin
/etc/ssh/ssh_config: terminating, 1 bad configuration options
と表示されます。
40行目がおかしいみたいなのですが、何がおかしいのか調べてもわかりません。
追加で記述したのは40行目だけのはずです。

何がいけないのでしょうか。よろしくお願いします。