Difference between pages "Package talk:OpenSSH" and "Template:DisplayBuilds"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (update info prepping to move to main article)
 
 
Line 1: Line 1:
== keys ==
<includeonly>
=== Passwordless Authentication ===
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,latest=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@latest,path=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@path,download=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@download}}
==== Client ====
<tr>
on your client run
<td>{{#external_value:build}}</td>
<console>###i## ssh-keygen -t rsa</console>
<td>{{#vardefine:v|{{#external_value:variant}}}}{{#if:{{#var:v}}|{{#var:v}}|<span style="color: #888;">standard</span>}}</td>
Dialogs will be presented, you can press enter several times to accept defaults.
<td>{{#external_value:latest}}</td>
 
<td>*'''[http://ftp.osuosl.org/pub/funtoo{{#external_value:download}} osuosl.org]'''
<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>
* '''[http://build.funtoo.org{{#external_value:download}} funtoo.org]'''</td>
 
<td>* [http://ftp.osuosl.org/pub/funtoo{{#external_value:path}} osuosl.org]
==== Server ====
* [http://build.funtoo.org{{#external_value:path}} funtoo.org]</td>
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>
</tr>
 
</includeonly>
==== 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.

Revision as of 04:21, January 15, 2015