You are not logged in.

#1 2012-03-15 21:49:00

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

[SOLVED] SSH RSA for Root

When "PermitRootLogin without-password" is enable this only allows logins with RSA right ? Just want to make sure. Thanks.

Last edited by TuxLyn (2012-03-15 22:09:39)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#2 2012-03-15 21:52:51

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] SSH RSA for Root

That will disable password authentication for the root user indeed (and hence only allowing keybased auth if you've set that up).


Burninate!

Offline

#3 2012-03-15 21:56:04

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: [SOLVED] SSH RSA for Root

Yeah that what I wanted to make sure. That it will only disable root password for RSA key authentication and not for any remote user who is trying to connect to it via ssh root@server. Unless I'm missing something... Any one else can confirm this ? Thanks.

Last edited by TuxLyn (2012-03-15 21:59:27)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#4 2012-03-15 22:00:41

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] SSH RSA for Root

That'll only affect the root user indeed. For the "normal" users; it's the "PasswordAuthentication" value that decides that.


Burninate!

Offline

#5 2012-03-15 22:09:17

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: [SOLVED] SSH RSA for Root

Alright thanks Gcool. Here is my wiki page at http://wiki.gotux.net/config/ssh  if any one else is interested to configure this.

Last edited by TuxLyn (2012-03-15 22:51:59)


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#6 2012-03-16 09:48:13

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] SSH RSA for Root

Sidenote: I strongly reccomend disabeling root login totally, for obvious reasons. (and only allow key logins for users)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2012-03-16 10:17:41

TuxLyn
Member
From: United States
Registered: 2011-10-26
Posts: 283

Re: [SOLVED] SSH RSA for Root

@Mr.Elending, yeah I thought about that. How secure is RSA keys to use it with root ?


::: Using Arch Linux Since October 25, 2011 :::
::: Tutorials: http://distrogeeks.com/ :::

Offline

#8 2012-03-16 10:58:55

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] SSH RSA for Root

Not allowing root login over ssh at all and using keys for users is my preferred way of working as well. How secure this setup is will basically depend on 2 things:

1) The used encryption algorithm and keylength when generating your keypair (RSA 2048bit is the default used by ssh-keygen, so you're pretty good in that aspect).
2) Your own ability to keep your private key "private" (making sure your (clientside) box is secure noone else has access to it).


Burninate!

Offline

Board footer

Powered by FluxBB