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

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
m (Threesixes moved page Talk:SSH to Package talk:OpenSSH: because heretics)
 
 
Line 1: Line 1:
== keys ==
{{Tip|[[Support Funtoo]] and help us grow! '''Donate $15 per month and get a free SSD-based [[Funtoo Hosting|Funtoo Virtual Container]].'''}}
=== Passwordless Authentication ===
</div><div class="col-xs-12 col-md-3">{{#vardefine:Summary|{{#show:{{FULLPAGENAME}}|?Summary}}}}
==== Client ====
{{#vardefine:Author|{{#show:{{FULLPAGENAME}}|?Author|link=none}}}}
on your client run
{{#vardefine:Icon|{{#show:{{FULLPAGENAME}}|?Icon}}}}
<console>###i## ssh-keygen -t rsa</console>
{{#widget:ArticleBio|body={{#show: {{#var:Author}} | ?Bio }}|user={{#var:Author|}}|icon_url={{#if:{{#var:Icon|}}|{{filepath:{{#sub:{{#var:Icon}}|5}}|80}}|http://www.gravatar.com/avatar/{{#show: {{FULLPAGENAME}} | ?Gravatar MD5}}/?s=80&d=retro&r=g}}}}
then hit enter like 5 times to generate your key
<div class="bs-head" style="text-decoration: underline; margin-bottom: 0px;">More Articles</div>{{#ask:[[Category:Articles]]
move the client ~/.ssh/id_rsa.pub to the server user your logging in as ~/.ssh/authorized_keys
|format=category
 
|link=all
==== Server ====
|headers=show
useradd a user
|searchlabel=... further results
 
|columns=1
then place clients id_rsa.pub file into the new users ~/.ssh/authorized_keys
}}
 
</div></div></div>
==== Single Machine Testing ====
<console>###i## ssh-keygen -t rsa</console>
enter 5 times
 
<console>###i## mv ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys</console>
<console>###i## ssh localhost</console>
 
 
== Intrusion Prevention ==
ssh is a commonly attacked service.  [[sshguard]] & [[fail2ban]] monitor logs and black list remote users who have repeatedly failed to login.

Revision as of 09:10, December 28, 2014

   Tip

Support Funtoo and help us grow! Donate $15 per month and get a free SSD-based Funtoo Virtual Container.


About the Author

{{#show: {{#show:Template:ArticleFooter|?Author|link=none}} | ?Bio }}

More Articles
{{#ask:

|format=category |link=all |headers=show |searchlabel=... further results |columns=1 }}