在路上.......分享 http://blog.sciencenet.cn/u/longxie1983 一念嗔心起,百万障门开

博文

用freeSSHd架设ssh服务器,但是不支持scp

已有 11280 次阅读 2012-11-29 09:06 |个人分类:科研工具|系统分类:科研笔记| 服务器, command, freeSSHd


最近需要再win下架设ssh服务器,供linux下位机使用。

但是,在架设好后发现,linux下位机可以通过 ssh 连接到win下的ssh服务器,通过sftp也可以连接。

在win下则通过sftp,ssh,telnet都可以连接到ssh服务器。

可是,就是没有办法使用scp进行沟通,很是郁闷.........

debug信息如下,有解决过的朋友望留言告知,谢谢

$ scp -v -i pcsc.rsa pcsc@192.168.100.232:true test
Executing: program /usr/bin/ssh host 192.168.100.232, user pcsc, command scp -v
-f -- true
OpenSSH_5.5p1, OpenSSL 0.9.8n 24 Mar 2010
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to 192.168.100.232 [192.168.100.232] port 22.
debug1: fd 3 clearing O_NONBLOCK
debug1: Connection established.
debug1: identity file pcsc.rsa type -1
debug1: identity file pcsc.rsa-cert type -1
debug1: identity file /home/pcsc/.ssh/vhf290909 type -1
debug1: identity file /home/pcsc/.ssh/vhf290909-cert type -1
debug1: Remote protocol version 2.0, remote software version WeOnlyDo 2.1.3
debug1: no match: WeOnlyDo 2.1.3
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.5
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client blowfish-cbc hmac-md5 none
debug1: kex: client->server blowfish-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '192.168.100.232' is known and matches the RSA host key.
debug1: Found key in /home/XIE Long/.ssh/known_hosts:2
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: password,publickey
debug1: Next authentication method: publickey
debug1: Trying private key: pcsc.rsa
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Sending command: scp -v -f -- true
exec request failed on channel 0


https://blog.sciencenet.cn/blog-483379-637325.html

上一篇:VC++.net 中为类添加“属性(property)”
下一篇:老婆提前收到了我的圣诞礼物
收藏 IP: 42.60.226.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (2 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-3-29 07:11

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部