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.
相關內容
- 已提問 7 個月前
- 已提問 7 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 7 個月前
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 ;-)