Difference between revisions of "Package talk:OpenSSH"

From Funtoo
Jump to navigation Jump to search
m (update info prepping to move to main article)
m (Blanked the page)
 
Line 1: Line 1:
== keys ==
=== Passwordless Authentication ===
==== Client ====
on your client run
<console>###i## ssh-keygen -t rsa</console>
Dialogs will be presented, you can press enter several times to accept defaults.


<code>~/.ssh/id_rsa.pub</code> will be generated.  Copy or append the contents of this file to the servers <code>~/.ssh/authorized_keys</code>
==== Server ====
Create a user, or select which user the client will be accessing the server as,  then place clients id_rsa.pub file into the users <code>~/.ssh/authorized_keys</code>
==== Single Machine Testing ====
<console>###i## ssh-keygen -t rsa</console>
Press enter several times to accept default settings.
<console>###i## cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys</console>
<console>###i## ssh localhost</console>
== Intrusion Prevention ==
ssh is a commonly attacked service. {{package|app-admin/sshguard}} monitors logs, and black list remote users who have repeatedly failed to login.

Latest revision as of 02:32, December 28, 2014