#!/bin/sh cd /USERACCT/.ssh mkdir -p /USERACCT/.ssh/Old /usr/bin/mv -f /USERACCT/.ssh/* /USERACCT/.ssh/Old ssh-keygen -b 768 -t rsa -f /USERACCT/.ssh/id_rsa -N '' mv id_rsa.pub id_rsa.`hostname` # NOTE: dsa was used with SOLARIS 8 - it did NOT support ssh protocols well, it is out of date # ssh-keygen -b 768 -t dsa -f /USERACCT/.ssh/id_dsa -N '' # mv id_dsa.pub id_dsa.`hostname` cp /home/USERACCT/authorized_keys /USERACCT/.ssh/authorized_keys chmod 600 /USERACCT/.ssh/authorized_keys |
The Art of Linux System Administration published by O'Reilly Media Study Guide for the LPIC-2 Certification Exams |
Wagoneers FULL SIZE JEEPS JeepMeister "Jeep is America's -Enzo Ferrari MeisterTech Diesels + |
One Page Overview of Linux Commands click for an image of the 5 essential Linux commands An Intro to Linux |
at Midway Auto on SR9 in Snohomish, or at Northland Diesel in Bellingham, WA |