From Funtoo
(Difference between pages)
Jump to navigation
Jump to search
|
|
Line 1: |
Line 1: |
| == keys ==
| | {{Person |
| === Passwordless Authentication === | | |Geoloc=48.1852, 11.38947 |
| ==== Client ====
| | |Blogs= |
| on your client run
| | }} |
| <console>###i## ssh-keygen -t rsa</console>
| | XMPP/Jabber: loona@fu411.com |
| 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 04:03, January 27, 2015
Location
Loading map...
{"minzoom":false,"maxzoom":false,"mappingservice":"leaflet","width":"100%","height":"350px","centre":false,"title":"","label":"","icon":"","lines":[],"polygons":[],"circles":[],"rectangles":[],"copycoords":false,"static":false,"zoom":5,"defzoom":14,"layers":["OpenStreetMap"],"image layers":[],"overlays":[],"resizable":false,"fullscreen":false,"scrollwheelzoom":true,"cluster":false,"clustermaxzoom":20,"clusterzoomonclick":true,"clustermaxradius":80,"clusterspiderfy":true,"geojson":"","clicktarget":"","imageLayers":[],"locations":[{"text":"","title":"","link":"","lat":48.1852,"lon":11.38947,"icon":""}],"imageoverlays":null}
XMPP/Jabber: loona@fu411.com