首页| 论坛| 消息

回复: Sailfish SDK开发命令行简记
#6 [XChinux 02-27 22:25]
http://www.qtcn.org/bbs/read.php?tid=52901&displayMode=1#139902
#7 回 6楼(XChinux) 的帖子 [sailfish 02-28 21:30]
多谢指点迷津,远程SSH 登录 mersdk时 总是提示无法链接 错误代码如下 itnet@PC-20110526DIDJ:~$ ssh -p 2222 -i ~/.ssh/mer-qt-creator-rsa mersdk@localhost
Agent admitted failure to sign using the key.
Agent admitted failure to sign using the key.
Permission denied (publickey).
itnet@PC-20110526DIDJ:~$ ssh -p 2222 -i ~/.ssh/mer-qt-creator-rsa.pub mersdk@localhost
Agent admitted failure to sign using the key.
Agent admitted failure to sign using the key.
Permission denied (publickey).
itnet@PC-20110526DIDJ:~$ ssh -p 2222 -i ~/.ssh/mer-qt-creator-rsa root@localhostAgent admitted failure to sign using the key.
Agent admitted failure to sign using the key.
Permission denied (publickey).
itnet@PC-20110526DIDJ:~$ ssh -i ~/.ssh/mer-qt-creator-rsa mersdk@localhost -p 2222
Agent admitted failure to sign using the key.
Agent admitted failure to sign using the key.
Permission denied (publickey).
后来进入调试模式观看错误原因
itnet@PC-20110526DIDJ:~$ ssh root@localhost -p 2222 -v -i ~/.ssh/mer-qt-creator-rsa
OpenSSH_6.0p1 Debian-4, OpenSSL 1.0.1c 10 May 2012
debug1: Connecting to localhost [::1] port 2222.
debug1: connect to address ::1 port 2222: Connection refused
debug1: Connecting to localhost [127.0.0.1] port 2222.
debug1: Connection established.
debug1: identity file /home/itnet/.ssh/mer-qt-creator-rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/itnet/.ssh/mer-qt-creator-rsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.6
debug1: match: OpenSSH_5.6 pat OpenSSH_5*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.0p1 Debian-4
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-ctr hmac-md5 none
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024
#8 [a1213125967 04-04 14:38]
:-1: 错误:MerSDK: 连接被拒绝
:-1: 错误:SailfishOS Emulator: 连接被拒绝
楼主这错。。。。能给解决方案吗
#9 [XChinux 04-04 20:50]
要将MerSDK和SailfishOS Emulator的虚拟机全启动起来。你先启动VirtualBox,然后在它里面将两个虚拟机全启动起来。
#10 [zxh1982a 04-09 00:13]
我尝试安装 Sailfish SDK,两个虚拟机都运行起来了,还玩耍了一下虚拟机自带的demo,
但是我自己编写的程序死活都编译不成功,提示错误:Could not connect to Mer SDK Virtual Machine. Connection refused
看了楼主的帖子,是必须使用ssh连接到编译机上去自己编译吗? 我在windows上没有命令行。
我使用一个ssh客户端程序又连接不上去,不知道怎么搞了!楼主能否指导一下在windows下怎么运行自己的程序吗?

<< 1 2 3 >> (2/3)

回复 发表
主题 版块