Timeline for Allow access via sshkey to specific chrooted user
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 29, 2017 at 22:58 | comment | added | saleetzo | All is good now in this town!!! Long days and short nights make the mind get nutty -- i had another term open that was logged in as root... that is why i was authing through it. Thanks @DopeGhoti | |
| Mar 29, 2017 at 22:54 | vote | accept | saleetzo | ||
| Mar 29, 2017 at 20:51 | comment | added | saleetzo | The .pub for user1 is not listed in the /root/.ssh/authorized_keys file -- that one is totally blank. | |
| Mar 29, 2017 at 20:45 | comment | added | DopeGhoti | Easy enough -- don't have that key listed in root's authorized_keys file? | |
| Mar 29, 2017 at 20:43 | comment | added | saleetzo | Good to know! I started to think that for a bit a moment ago and tried to just add the .pubkey in to the auth_keys in the user1 jailed directory. When I tried to SSH in using the identity file and [email protected] is put me in the right place and I was jailed. However, when I tried to do the same thing as [email protected] it let me in as root. Is there anyway that I can only allow user1 to use that key... or, make it so that key only allows someone to that specific directory? | |
| Mar 29, 2017 at 20:24 | history | answered | DopeGhoti | CC BY-SA 3.0 |