2개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
Found it. Feeling stupid.
Last line of Match Group directives in sshd_config was: PasswordAuthentication yes
on SERVER 1.
The AMI process changed it to: PasswordAuthentication no
which propagated to SERVER 2.
Changed 'no' to 'yes' and now it works. Missed the last line. Hopefully this helps someone else:
AMI Process changes your sshd_config file!
답변함 10달 전
0
Hi, did you try ssh -v (or -vv or -vvv) on working and non-working machine to see what differs at ssh connection time?
If you sftp client does support -v option, you can also try it with sftp itself. But, AFAIK, not all do.
Maybe this will help in locating the issue on the sftp side.
Didier
Thank you for your speedy reply, I missed a line in the config that was changed during the AMI process.
관련 콘텐츠
- 질문됨 8달 전
- AWS 공식업데이트됨 10달 전
- AWS 공식업데이트됨 2년 전
Hi, usually, you don't accept your own answer but the one which helped you find your problem. That's how a community works best ;-)