MacProにPCからリモートログイン(ssh)出来ない
いつもお世話になっております。
今までMacPro1台しか所有していなかったので、リモートログインする機会は
ありませんでした。最近になって中古のPCを入手したので、この機会にSSHで
MacProにリモートログインしてみようと考えました。
早速PCにTera Term(4.65)をインストール、MacProの共有でリモートログイン
にチェックを入れ、リモートログインしようと試みたのですが、プレインテキスト
を使いユーザー名、パスワードを入力するもログイン出来ません。
いろいろと調べるとSnow Leopardのsshdはデフォルトでチャレンジレスポンス認証
を使用するとの情報を得ました。
そこでチャレンジレスポンス認証を使用してログインを試みるもログイン出来ません。
ログを確認した所、下記のようなエラーが発生していました。
Apr 16 23:15:52 ICEBOX sandboxd[624]: sshd(621) deny mach-per-user-lookup
そこで、このディスカッションボードで見つけた情報に従ってMacPro自身にsshコマンドで
ログインを試みた所、下記のようなエラーが発生してログイン出来ませんでした。
ICEBOX: user$ ssh -v localhost
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to localhost [::1] port 22.
debug1: Connection established.
debug1: identity file /Users/user/.ssh/identity type -1
debug1: identity file /Users/user/.ssh/id_rsa type -1
debug1: identity file /Users/user/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.2
debug1: match: OpenSSH_5.2 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
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'localhost' is known and matches the RSA host key.
debug1: Found key in /Users/user/.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: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /Users/user/.ssh/identity
debug1: Trying private key: /Users/user/.ssh/id_rsa
debug1: Trying private key: /Users/user/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
Password:
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: password
user@localhost's password:
Connection closed by ::1
ICEBOX: user$
各マシンは下記のような構成になっています。
ICEBOX=MacPro Snow Leopard 10.6.3
ICEBOX-WIN=PC Winows 7 Enterprise
WAN
|
TimeCapsule
| |
| (ICEBOX)
|
(ICEBOX-WIN)
TimeCapsuleはポートマッピングでリモートログイン - SSHで22ポートを
空けています。
どうすればMacProにリモートログイン出来るようになるか情報をお持ちの方が
いらっしゃいましたら、ぜひ教えていただけないでしょうか?
よろしくお願いいたします。
MacPro 1st gen.-OTHER, Mac OS X (10.6.3), Windows7,iPhone3GS 32GB(OS 3.1.3)