亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 14803 | 回復(fù): 9
打印 上一主題 下一主題

SFTP文件傳輸提示協(xié)議無法初始化! [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2010-03-25 09:40 |只看該作者 |倒序?yàn)g覽
本帖最后由 iuingeng 于 2010-03-25 09:50 編輯

操作系統(tǒng)版本:suse linux es 10.sp1

在windows客戶端上使用winscp下載文件,sftp出現(xiàn)如下錯(cuò)誤:


我找了另外一臺(tái)sftp正常的服務(wù)器,執(zhí)行scp命令,試圖從該問題服務(wù)器上下載文件,輸入密碼后無任何提示,結(jié)束。

論壇徽章:
1
天秤座
日期:2013-10-23 13:20:42
2 [報(bào)告]
發(fā)表于 2010-03-25 10:50 |只看該作者
不熟悉suse 中的sftp的,redhat中是無需配置的

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2010-03-26 09:24 |只看該作者
不熟悉suse 中的sftp的,redhat中是無需配置的
jerryjzm 發(fā)表于 2010-03-25 10:50


suse中也無需配置。只是最近裝了個(gè)軟件,就出現(xiàn)這個(gè)問題。

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2010-03-30 08:08 |只看該作者
居然沒有人回應(yīng),,看來這個(gè)問題難以解決了。。

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2010-03-30 08:48 |只看該作者
貼出你的 sshd 配置文件,其中應(yīng)含有 sftp 的信息

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2010-03-31 11:23 |只看該作者
貼出你的 sshd 配置文件,其中應(yīng)含有 sftp 的信息
platinum 發(fā)表于 2010-03-30 08:48

呵呵,我實(shí)在沒發(fā)現(xiàn)跟那個(gè)有關(guān)的參數(shù),麻煩你看看~

sshd_config文件內(nèi)容:
  1. #        $OpenBSD: sshd_config,v 1.72 2005/07/25 11:59:40 markus Exp $

  2. # This is the sshd server system-wide configuration file.  See
  3. # sshd_config(5) for more information.

  4. # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

  5. # The strategy used for options in the default sshd_config shipped with
  6. # OpenSSH is to specify options with their default value where
  7. # possible, but leave them commented.  Uncommented options change a
  8. # default value.

  9. #Port 22
  10. #Protocol 2,1
  11. #AddressFamily any
  12. #ListenAddress 0.0.0.0
  13. #ListenAddress ::

  14. # HostKey for protocol version 1
  15. #HostKey /etc/ssh/ssh_host_key
  16. # HostKeys for protocol version 2
  17. #HostKey /etc/ssh/ssh_host_rsa_key
  18. #HostKey /etc/ssh/ssh_host_dsa_key

  19. # Lifetime and size of ephemeral version 1 server key
  20. #KeyRegenerationInterval 1h
  21. #ServerKeyBits 768

  22. # Logging
  23. # obsoletes QuietMode and FascistLogging
  24. #SyslogFacility AUTH
  25. #LogLevel INFO

  26. # Authentication:

  27. #LoginGraceTime 2m
  28. #PermitRootLogin yes
  29. #StrictModes yes
  30. #MaxAuthTries 6

  31. #RSAAuthentication yes
  32. #PubkeyAuthentication yes
  33. #AuthorizedKeysFile        .ssh/authorized_keys

  34. # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
  35. #RhostsRSAAuthentication no
  36. # similar for protocol version 2
  37. #HostbasedAuthentication no
  38. # Change to yes if you don't trust ~/.ssh/known_hosts for
  39. # RhostsRSAAuthentication and HostbasedAuthentication
  40. #IgnoreUserKnownHosts no
  41. # Don't read the user's ~/.rhosts and ~/.shosts files
  42. #IgnoreRhosts yes

  43. # To disable tunneled clear text passwords, change to no here!
  44. PasswordAuthentication no
  45. #PermitEmptyPasswords no

  46. # Change to no to disable s/key passwords
  47. #ChallengeResponseAuthentication yes

  48. # Kerberos options
  49. #KerberosAuthentication no
  50. #KerberosOrLocalPasswd yes
  51. #KerberosTicketCleanup yes
  52. #KerberosGetAFSToken no

  53. # GSSAPI options
  54. #GSSAPIAuthentication no
  55. #GSSAPICleanupCredentials yes

  56. # Set this to 'yes' to enable support for the deprecated 'gssapi' authentication
  57. # mechanism to OpenSSH 3.8p1. The newer 'gssapi-with-mic' mechanism is included
  58. # in this release. The use of 'gssapi' is deprecated due to the presence of
  59. # potential man-in-the-middle attacks, which 'gssapi-with-mic' is not susceptible to.
  60. #GSSAPIEnableMITMAttack no


  61. # Set this to 'yes' to enable PAM authentication, account processing,
  62. # and session processing. If this is enabled, PAM authentication will
  63. # be allowed through the ChallengeResponseAuthentication mechanism.
  64. # Depending on your PAM configuration, this may bypass the setting of
  65. # PasswordAuthentication, PermitEmptyPasswords, and
  66. # "PermitRootLogin without-password". If you just want the PAM account and
  67. # session checks to run without PAM authentication, then enable this but set
  68. # ChallengeResponseAuthentication=no
  69. UsePAM yes

  70. #AllowTcpForwarding yes
  71. #GatewayPorts no
  72. X11Forwarding yes
  73. #X11DisplayOffset 10
  74. #X11UseLocalhost yes
  75. #PrintMotd yes
  76. #PrintLastLog yes
  77. #TCPKeepAlive yes
  78. #UseLogin no
  79. #UsePrivilegeSeparation yes
  80. #PermitUserEnvironment no
  81. #Compression delayed
  82. #ClientAliveInterval 0
  83. #ClientAliveCountMax 3
  84. #UseDNS yes
  85. #PidFile /var/run/sshd.pid
  86. #MaxStartups 10

  87. # no default banner path
  88. #Banner /some/path

  89. # override default of no subsystems
  90. Subsystem        sftp        /usr/lib/ssh/sftp-server

  91. # This enables accepting locale enviroment variables LC_* LANG, see sshd_config(5).
  92. AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
  93. AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
  94. AcceptEnv LC_IDENTIFICATION LC_ALL
復(fù)制代碼
以下是:ssh_config
  1. #        $OpenBSD: ssh_config,v 1.20 2005/01/28 09:45:53 dtucker Exp $

  2. # This is the ssh client system-wide configuration file.  See
  3. # ssh_config(5) for more information.  This file provides defaults for
  4. # users, and the values can be changed in per-user configuration files
  5. # or on the command line.

  6. # Configuration data is parsed as follows:
  7. #  1. command line options
  8. #  2. user-specific file
  9. #  3. system-wide file
  10. # Any configuration value is only changed the first time it is set.
  11. # Thus, host-specific definitions should be at the beginning of the
  12. # configuration file, and defaults at the end.

  13. # Site-wide defaults for some commonly used options.  For a comprehensive
  14. # list of available options, their meanings and defaults, please see the
  15. # ssh_config(5) man page.

  16. Host *
  17. #   ForwardAgent no
  18. #   ForwardX11 no

  19. # If you do not trust your remote host (or its administrator), you
  20. # should not forward X11 connections to your local X11-display for
  21. # security reasons: Someone stealing the authentification data on the
  22. # remote side (the "spoofed" X-server by the remote sshd) can read your
  23. # keystrokes as you type, just like any other X11 client could do.
  24. # Set this to "no" here for global effect or in your own ~/.ssh/config
  25. # file if you want to have the remote X11 authentification data to
  26. # expire after two minutes after remote login.
  27. ForwardX11Trusted yes

  28. #   RhostsRSAAuthentication no
  29. #   RSAAuthentication yes
  30. #   PasswordAuthentication yes
  31. #   HostbasedAuthentication no
  32. #   BatchMode no
  33. #   CheckHostIP yes
  34. #   AddressFamily any
  35. #   ConnectTimeout 0
  36. #   StrictHostKeyChecking ask
  37. #   IdentityFile ~/.ssh/identity
  38. #   IdentityFile ~/.ssh/id_rsa
  39. #   IdentityFile ~/.ssh/id_dsa
  40. #   Port 22
  41. #   Protocol 2,1
  42. #   Cipher 3des
  43. #   Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
  44. #   EscapeChar ~
  45. #   GSSAPIAuthentication no
  46. #   GSSAPIDelegateCredentials no

  47. # Set this to 'yes' to enable support for the deprecated 'gssapi' authentication
  48. # mechanism to OpenSSH 3.8p1. The newer 'gssapi-with-mic' mechanism is included
  49. # in this release. The use of 'gssapi' is deprecated due to the presence of
  50. # potential man-in-the-middle attacks, which 'gssapi-with-mic' is not susceptible to.
  51. #   GSSAPIEnableMITMAttack no

  52. # This enables sending locale enviroment variables LC_* LANG, see ssh_config(5).
  53. SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
  54. SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
  55. SendEnv LC_IDENTIFICATION LC_ALL
復(fù)制代碼

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2010-03-31 12:36 |只看該作者
我的有這個(gè)

  1. # override default of no subsystems
  2. Subsystem       sftp    /usr/lib/misc/sftp-server
復(fù)制代碼

論壇徽章:
0
8 [報(bào)告]
發(fā)表于 2010-04-01 13:04 |只看該作者
我的有這個(gè)
platinum 發(fā)表于 2010-03-31 12:36

我的也有啊~~~


override default of no subsystems
Subsystem        sftp        /usr/lib/ssh/sftp-server

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2010-04-01 19:13 |只看該作者
我的也有啊~~~


override default of no subsystems
Subsystem        sftp        /usr/lib/ssh/sf ...
iuingeng 發(fā)表于 2010-04-01 13:04

那為什么之前讓你貼信息你沒貼出來的卻沒有呢?自己貪污了?
我是根據(jù)你的信息給出的判斷,如果你說有,那不知道了

論壇徽章:
0
10 [報(bào)告]
發(fā)表于 2012-09-27 22:28 |只看該作者
問題原因是 我在root用戶的profile里面增加了一行獲取環(huán)境變量相關(guān)設(shè)置的文件設(shè)置, 類似于source ..的東西。。去掉之后就好了。。但是沒搞清楚是為什么。。。
[抱歉當(dāng)時(shí)沒回帖,,,今天回來突然看到了。。]
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP