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

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

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪(fǎng)問(wèn)板塊 發(fā)新帖
查看: 8738 | 回復(fù): 0
打印 上一主題 下一主題

[SCO UNIX] scp - Executing ssh1 in compatibility mode failed [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2005-08-25 04:45 |只看該作者 |倒序?yàn)g覽
我在4.0G上下載OpenSSH 4.0p1 安裝成功后,scp 至5.1B(自帶ssh)  出錯(cuò)
"scp - FATAL: Executing ssh1 in compatibility mode failed (check that scp1 is in your PATH)."
網(wǎng)上search了一下,找到了答案,貼出來(lái)與大家分享

Quote 1:

This problem is often quite perplexing, since a ssh -V trace may show that you're using SSH-2 - so what
is a message about "ssh1 compatibility mode " doing in there?

What's happening is this:
  
  1. On the OpenSSH client, you run say, scp foo server:bar
  2. scp runs ssh in a subprocess to connnect to the server, and run the remote command scp -t bar. This
     is intend to start an instance of the scp program on the server, and the two scp's will cooperate by
     speaking over the SSH connection, to retrieve the file.
  3. ssh connects to the server (using either protocol 1 or 2, it doesn't matter), and runs the remote scp
     command. However, the "scp" that gets run on the server is the SSH2 scp program (scp2), not the
     OpenSSH one. The crux of the problem is: besides the name, these two scp's have exactly nothing in
     common. scp2 cannot speak the file-transfer protocol that OpenSSH scp does. However, scp2 recognizes
     from the "-t" flag what's expected, and tries exec scp1 to service the connection (this is the extent
     of SSH2's SSH-1 compatibility; where OpenSSH has code for both protocols in a single set of programs,
     SSH2 expects to execute programs from a parallel SSH1 installation). It fails (presumably because
     you don't have SSH1 installed), and reports the problem.

The solution is to install either the OpenSSH or SSH1 version of scp on the server under the name "scp1",
somewhere in the sshd2's PATH.



Quote 2:

OpenSSH implements "scp" via RCP over an SSH channel.
ssh.com implement "scp" via FTP over an SSH channel.

OpenSSH's server has both implementations, but it's client only uses
the RCP version.

So if the client is OpenSSH, use "sftp" to get to an ssh.com server.
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(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)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP