
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 예
KeyRe GenerationInterval 3600
ServerKeyBits 1024
SyslogFacility AUTH
LogLevel VERBOSE
GraceTime 120
PermitRootLogin 아니요
StrictModes 예
RSAAuthentication 예
PubkeyAuthentication 예
IgnoreRhosts 예
RhostsRSAAuthentication 아니오
HostbasedAuthentication 아니오
PermitEmptyPasswords 아니오
ChallengeResponseAuthentication 예
X11Forwarding 예
X11DisplayOffset 10
PrintMotd 아니오
PrintLastLog 예
TCPKeepAlive 예
AcceptEnv LANG LC_*
하위 시스템 sftp /usr/lib/openssh/sftp-server
UsePAM 예
미리 감사드립니다
친애하는.
답변1
Time Machine이 ssh
해당 포트를 허용하도록 설정되어 있습니까?
확인하다 ssh_config
. ( 일반적으로 에 있는 및 에서
찾을 수 있습니다 ).locate ssh_config
/etc/ssh/ssh_config