[問題] ssh client 出問題
伺服器端確認沒問題(用別的電腦可以ssh連上去)
我自己的電腦也可以用sftp gui軟體(mac cyberduck)連
但ssh, sftp console都不能使用...
在掛掉之前我做過的事:
想玩玩看ssh-keygen,然後連github
用ssh-agent, ssh-add, keychain 這幾個軟體來掛載 private key
連結github的實驗有成功
登出登入後,我發現我不能ssh任何東西了(不過我沒有重新實驗連github)
猜測是這個key會影響我的knownhost??
github的key可以放新的,所以我先把我的id_rsa, id_rsa.pub砍掉...沒有用 = =
接下來再砍掉.keychain/
砍掉.ssh
重開機
結果還是沒有解決問題 Q口Q
ssh_config, sshd_config 都是預設值(雖然應該跟sshd無關啦..)
以下是 ssh xxx@xxx -v 的訊息
OpenSSH_5.2p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to 馬賽克 port 22
debug1: Connection established.
debug1: identity file /Users/dryman/.ssh/identity type -1
debug1: identity file /Users/dryman/.ssh/id_rsa type -1
debug1: identity file /Users/dryman/.ssh/id_dsa 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.2
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
停在這裡就不動了...
請問該怎麼處理呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.166.192.149
→
05/02 15:41, , 1F
05/02 15:41, 1F
→
05/02 16:14, , 2F
05/02 16:14, 2F
→
05/02 16:20, , 3F
05/02 16:20, 3F
→
05/02 16:21, , 4F
05/02 16:21, 4F
→
05/02 16:21, , 5F
05/02 16:21, 5F
→
05/02 21:08, , 6F
05/02 21:08, 6F
→
05/02 21:09, , 7F
05/02 21:09, 7F
→
05/02 21:09, , 8F
05/02 21:09, 8F
→
05/02 21:09, , 9F
05/02 21:09, 9F
→
05/02 21:11, , 10F
05/02 21:11, 10F
→
05/02 21:11, , 11F
05/02 21:11, 11F
→
05/02 21:11, , 12F
05/02 21:11, 12F
→
05/02 21:24, , 13F
05/02 21:24, 13F
→
05/02 21:37, , 14F
05/02 21:37, 14F
→
05/02 21:41, , 15F
05/02 21:41, 15F
→
05/02 21:41, , 16F
05/02 21:41, 16F
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):
0
16
Network 近期熱門文章
PTT數位生活區 即時熱門文章