On my main system I have two user accounts, 'rcarter' and 'sardine'. I remove the .ssh directories from 'rcarter', 'sardine', and 'root'. I
create a new rsa key for rcarter (creates ~rcarter/.ssh) and then
ssh-copy-id -i the new key to sardine@localhost and root@localhost,
which creates a new .ssh directory with authorized_keys for each.
Then I ssh-add the new key to the agent as rcarter.
1. $ ssh sardine@localhost logs in w/o password
2. $ ssh root@localhost asks for password
This is reproducible on two 'testing' systems that have worked
flawlessly for at least two years each, but were both dist-upgraded yesterday, and they now exhibit this same behavior.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 460 |
Nodes: | 16 (3 / 13) |
Uptime: | 09:41:52 |
Calls: | 9,347 |
Calls today: | 5 |
Files: | 13,539 |
Messages: | 6,082,929 |
Posted today: | 1 |