Unix Administration

...now browsing by category

 

Passwordless login remote with SSH

Tuesday, March 31st, 2009

generate the public keys

user1@server1> ssh-keygen –t rsa

Generating public/private rsa key pair.
Enter file in which to save the key (/home/user1/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/user1/.ssh/id_rsa.
Your public key has been saved in /home/user1/.ssh/id_rsa.pub.
The key fingerprint is:
31:a1:c2:d7:a6:9f:27:cd:84:1f:f2:7a:e8:7c:34:80

user1@server1> cd /home/user1/.ssh
user1@server1> cp id_rsa.pub authorized_keys

Copy the file authorized_keys to server2 and it is now possible to login without password.

user1@server1> cd /home/user1/.ssh
user1@server1> scp authorized_keys server2:/home/user1/.ssh

How To Make RPM Packages

Sunday, May 4th, 2008

How to install Squid on FC 4.0

Thursday, July 5th, 2007

How To Configure Hardware Mirroring on Sun T2000

Wednesday, April 18th, 2007

Recovering T2000 ALOM Passwords

Thursday, March 22nd, 2007

Enable Syslog Logging Of SSH Access

Tuesday, December 12th, 2006

Creating ZFS filesystem on Solaris 10, x86

Tuesday, November 21st, 2006

Installing ZFS on Solaris 10, x86

Monday, November 20th, 2006
Installing ZFS on Solaris 10, x86