r/SysAdminBlogs • • Dec 10 '22

10 Useful Steps To Install And Secure SSH Server In Linux | LinuxTeck

https://www.linuxteck.com/install-and-secure-ssh-server-in-linux/
13 Upvotes

4 comments sorted by

3

u/rstr1212 Dec 10 '22

Really great how-to, I'll be doing this in my lab. Only thing I don't understand, what do you do with the generated keys on the client side?

2

u/methreethatis Dec 10 '22

You need a few more steps . If you type

ssh-copy-id remote_user@remote_ip

And authenticate once then you can ssh without password.

See this for more details https://linuxhint.com/ssh-using-private-key-linux/

1

u/rstr1212 Dec 10 '22

Thank you so much!

1

u/fathed Dec 10 '22

Everyone always ignores gssapi, and using an existing ticketing solution instead of manually copying cert and key files around.