Unterhaltung
Nachrichten
-
#newbie question: I want to allow logging in to SSH for only two (logical) users, and only with Keys - do I need a separate key pair for each user? #security !security
-
@mk Note: I've already disallowed logging in as root
-
@mk I think you do. The key pair identifies the user to the system.
-
@lnxw48 ok, thanks. Can I then 'arbitrarily' choose a name for teh generated keys so they reflect the intended user name?
-
@mk yes.
-
lnxw48 great, thanks
-
@mk @lnxw48 @kat this is interesting: I looked up the man page for ssh-copy-id, which mentions the -i parameter to specify the identity file, but it *doesn't* specify the -p parameter to specify the port; I used that anyway because I…
-
@mk @kat @mmn I know this is already solved, but putting this here for future reference: On the client side, permissions have to be correct on ~/.ssh/ ... that directory and its contents should not be acccessible for any other users. This…
-
@lnxw48 yes, this can be confusing, but I'd read about it so was aware; I didn't actually run into it though
-