User Tools

Site Tools


wiki:ssh_troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:ssh_troubleshooting [2025/12/14 19:09] – created antisawiki:ssh_troubleshooting [2026/04/29 09:37] (current) – [Permission denied (publickey)] fix etc location antisa
Line 15: Line 15:
  
   ssh -i /root/.ssh/id_ed25519 root@192.168.99.143   ssh -i /root/.ssh/id_ed25519 root@192.168.99.143
 +
 +===== Permission denied (publickey) =====
 +If you're sure you're using the correct user to connect and the private/public keys match, the issue could be the that the user is locked on the server. In ssh logs you will see:
 +  User vagrant not allowed because account is locked
 +
 +''/etc/shadow'' will show an exclamation mark for the user. Quick solution for this is to set the password for the user
 +
 +  sudo passwd vagrant
  
 ====== Tested on ====== ====== Tested on ======
wiki/ssh_troubleshooting.1765739352.txt.gz · Last modified: by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki