create account

RE: How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong! by r351574nc3

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @themarkymark/how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong

· @r351574nc3 ·
$0.10
This assumes `sudo` is the group that gives `sudo` access. This isn't the case on every linux distribution. Some use `wheel` or `admin`

To ensure use of `sudo` group do the following after step 2 **Update Packages**

1. visudo
1. Add ```%sudo   ALL=(ALL:ALL) ALL```
👍  , ,
properties (23)
authorr351574nc3
permlinkre-themarkymark-how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong-20180706t111744164z
categorysysadmin
json_metadata{"tags":["sysadmin"],"app":"steemit/0.1"}
created2018-07-06 11:17:42
last_update2018-07-06 11:17:42
depth1
children2
last_payout2018-07-13 11:17:42
cashout_time1969-12-31 23:59:59
total_payout_value0.081 HBD
curator_payout_value0.022 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length266
author_reputation169,747,269,306,049
root_title"How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id63,644,707
net_rshares52,576,169,544
author_curate_reward""
vote details (3)
@themarkymark ·
> These steps are what I do with every server I own or work with. All my servers are Debian based (mostly all Ubuntu at this point) so these commands will be for Ubuntu.
properties (22)
authorthemarkymark
permlinkre-r351574nc3-re-themarkymark-how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong-20180706t112545925z
categorysysadmin
json_metadata{"tags":["sysadmin"],"app":"steemit/0.1"}
created2018-07-06 11:25:45
last_update2018-07-06 11:25:45
depth2
children1
last_payout2018-07-13 11:25:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length169
author_reputation1,774,203,157,359,879
root_title"How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id63,645,481
net_rshares0
@r351574nc3 ·
$0.10
That's not necessary, I was pointing information that would be useful for users of other distributions.
👍  , ,
properties (23)
authorr351574nc3
permlinkre-themarkymark-re-r351574nc3-re-themarkymark-how-to-properly-setup-ssh-key-authentication-if-you-are-logging-into-your-server-with-root-you-are-doing-it-wrong-20180706t125816431z
categorysysadmin
json_metadata{"tags":["sysadmin"],"app":"steemit/0.1"}
created2018-07-06 12:58:15
last_update2018-07-06 12:58:15
depth3
children0
last_payout2018-07-13 12:58:15
cashout_time1969-12-31 23:59:59
total_payout_value0.077 HBD
curator_payout_value0.022 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length103
author_reputation169,747,269,306,049
root_title"How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id63,655,193
net_rshares50,549,733,585
author_curate_reward""
vote details (3)