注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Package talk:OpenSSH"

From Funtoo
Jump to navigation Jump to search
m (Threesixes moved page Talk:SSH to Package talk:OpenSSH: because heretics)
m (Blanked the page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== keys ==
=== Passwordless Authentication ===
==== Client ====
on your client run
<console>###i## ssh-keygen -t rsa</console>
then hit enter like 5 times to generate your key
move the client ~/.ssh/id_rsa.pub to the server user your logging in as ~/.ssh/authorized_keys


==== Server ====
useradd a user
then place clients id_rsa.pub file into the new users ~/.ssh/authorized_keys
==== 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.

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