teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

Install方法、Configを記載いたしました。

2016/04/01 01:43

投稿

Hon11
Hon11

スコア7

title CHANGED
File without changes
body CHANGED
@@ -12,4 +12,29 @@
12
12
 
13
13
  サーバー上でlocalhost宛sftp接続すると、loginできるのですが、ディレクトリ情報を取得しようとlsコマンドを発行するとプロンプトが応答なくなる状況です。
14
14
 
15
- ご意見、アドバイス頂けると大変助かります。
15
+ ご意見、アドバイス頂けると大変助かります。
16
+
17
+ 追記-----------------
18
+ Openssh5.6p1 は以下サイトを参考にrpmパッケージを作成しInstallいたしました。
19
+ [参考先Blog](http://takuya-1st.hatenablog.jp/entry/20110903/1315014371)
20
+
21
+ sshd_conf は以下通りです。
22
+
23
+ ```sshd_conf
24
+ Protocol 2
25
+ PermitRootLogin yes
26
+ PasswordAuthentication yes
27
+ ChallengeResponseAuthentication no
28
+ UsePAM yes
29
+
30
+ X11Forwarding no
31
+ Subsystem sftp internal-sftp
32
+
33
+ Match User 対象User名
34
+ ChrootDirectory /home/%u
35
+ X11Forwarding no
36
+ AllowTcpForwarding no
37
+ AllowAgentForwarding no
38
+ ForceCommand internal-sftp
39
+
40
+ ```