2017-03-21 21 views
0

Redhatマシンでsftp設定を作成していますが、以下のエラーが発生したsshサービスの再起動時に発生します。redhatのsftp設定

$ service sshd restart 
Stopping sshd:            [ OK ] 
Starting sshd: /etc/ssh/sshd_config: line 130: Bad configuration option: Match 
/etc/ssh/sshd_config: line 132: Bad configuration option: ForceCommand 
/etc/ssh/sshd_config: terminating, 2 bad configuration options 
                  [FAILED] 

My O.S.

$ cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.4 (Tikanga) 
+0

あなたの '/ etc/ssh/sshd_config'ファイルを投稿できますか? –

+0

##サブシステムSFTPの/ usr/libexecに/のopenssh/SFTPサーバ サブシステムSFTPの内部-SFTP マッチグループsftpusers ChrootDirectory/SFTP /%uの ForceCommand内部-SFTP –

答えて

1

のRed Hat Enterprise Linux 5(10年前にリリース)非常に古いであり、これらの構成オプション(MatchForceCommand)をサポートしていません。最新の機能にアクセスしたい場合は、より新しいものにアップデートすることを検討する必要があります。

+0

私が持っている、私が更新するために必要なもの、手の込んだしてくださいルートアクセス。 –

+0

また、このO.Sでsftpを達成する他の方法も教えてください。 –

+1

OS全体。この機能をもたらすRHEL5のソフトウェア/パッケージのアップデートはありません。 – Jakuje

関連する問題