• debug 情况是这样的,我的 key 文件是 blog-ec2.pem

    OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
    debug1: Reading configuration data /etc/ssh_config
    debug1: Applying options for *
    debug1: Connecting to ec2-54-248-58-236.ap-northeast-1.compute.amazonaws.com [54.248.58.236] port 22.
    debug1: Connection established.
    debug1: identity file blog-ec2.pem type -1
    debug1: identity file blog-ec2.pem-cert type -1
    debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
    debug1: match: OpenSSH_5.3 pat OpenSSH*
    debug1: Enabling compatibility mode for protocol 2.0
    debug1: Local version string SSH-2.0-OpenSSH_5.6
    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<1024<8192) sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
    debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
    debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
    debug1: Host 'ec2-54-248-58-236.ap-northeast-1.compute.amazonaws.com' is known and matches the RSA host key.
    debug1: Found key in /Users/xudannie/.ssh/known_hosts:13
    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: publickey
    debug1: Next authentication method: publickey
    debug1: Offering RSA public key: /Users/xudannie/.ssh/id_rsa
    debug1: Authentications that can continue: publickey
    debug1: Trying private key: blog-ec2.pem
    debug1: read PEM private key done: type RSA
    debug1: Authentications that can continue: publickey
    debug1: No more authentication methods to try.
    Permission denied (publickey).
    
  • @ytwman 我也是重新安装了几遍就解决了。

  • 多谢上面两位,下次测试下。

  • 可惜太远了啊。。。

  • @bl0ckme 这个如何安装?跟上面的名字一样的,看介绍还是在 working 中。

  • @dxdxdx https://github.com/jihao/omniauth-weibo 用的是这个 gem 啊,没有装其他的

  • 为什么 uid 是空呢?这样的话所有用 weibo 登录的用户就是同一个用户。难道不取 uid?

  • win7 上转 Imagick 真是相当痛苦

  • 这个问题解决了吗?貌似我也有这个情况。

  • unset TMPDIR
    mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
    

    用 brew 安装后,上面那个都执行了,查了发现是没有生成 my.cnf 文件,待会用@lgn21st 提供的文件生成一个看看。

  • OmniAuth 1.0 发布了 at 2011年12月22日

    多谢楼上 2 位@poshboytl @yedingding,建了一个 user 的 model,搞定了。Omniauth 真是太强大了,试用 facebook 和 twitter 的 auth 也实现用户登录了。但是貌似 omniauth-weibo 这个项目怎么还是在 working 呢?

  • OmniAuth 1.0 发布了 at 2011年12月18日

    使用这个,还需要建一个 user model 吗?密码怎么传过去。