
afpd
Ubuntu サーバーにアップしています。LAN ではすべて正常に動作します。SSH
トンネリング経由でユーザーのバックアップを作成しようとすると失敗しますが、LAN では動作します。
トンネリングは正常に動作します。トンネルが確立されると、既存のバックアップを問題なくマウントできます。
ssh L port -> localhost:548 (in the general sense)
Time Machine 設定でバックアップ ボリュームを構成することも成功します。
しかし、実際にバックアップしようとすると、ユーザーまたはパスワードが間違っているというエラーが表示されます。
私のサーバーには次の認証ログが表示されます。
afpd[2431]: pam_unix(netatalk:auth): authentication failure; logname= uid=0 euid=0 tty=afpd ruser= rhost=localhost user=xxx
その問題を除外する方法のヒントを持っている人はいますか?
この問題を検索しましたが、同様の問題を抱えている人はいないようです。
クライアント上の sshd_config は次のとおりです。
`Host *
SendEnv LANG LC_*`
サーバー側の ssh_config は次のとおりです:
ポート xx
プロトコル 2 HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
UsePrivilegeSeparation yes
KeyRegenerationInterval 3600
ServerKeyBits 1024
SyslogFacility AUTH
LogLevel VERBOSE
LoginGraceTime 120
PermitRootLogin no
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
IgnoreRhosts yes
RhostsRSAAuthentication no
HostbasedAuthentication no
PermitEmptyPasswords no
ChallengeResponseAuthentication yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
AcceptEnv LANG LC_*
サブシステム sftp /usr/lib/openssh/sftp-server
PAM を使用する はい
前もって感謝します
よろしくお願いします。
答え1
Time Machine はssh
そのポートで許可するように設定されていますか?
を確認してくださいssh_config
。
( と で見つけることができますlocate ssh_config
。通常は にあります/etc/ssh/ssh_config
)。