Wednesday, September 19, 2007

and there i go

I just cleanesed my previous ssh encarnation on afs...

bash-3.00$ cd public/
bash-3.00$ ls
authorized_keys id_dsa.pub identity.pub id_rsa.pub
bash-3.00$ ls -la
total 15
drwxr-xr-x 2 dfrodrig gm 2048 Sep 22 2006 .
drwxr-xr-x 39 dfrodrig gm 8192 Sep 19 16:24 ..
-rw------- 1 dfrodrig gm 336 May 30 2006 authorized_keys
-rw-r--r-- 1 dfrodrig gm 22 Oct 7 2004 .forward
-rw-r--r-- 1 dfrodrig gm 616 May 30 2006 id_dsa.pub
-rw-r--r-- 1 dfrodrig gm 345 May 30 2006 identity.pub
-rw-r--r-- 1 dfrodrig gm 236 May 30 2006 id_rsa.pub
bash-3.00$ rm *
bash-3.00$ cd ..
bash-3.00$ cd private/
bash-3.00$ ls
id_dsa identity id_rsa
bash-3.00$ ls -la
total 13
drwxr-xr-x 2 dfrodrig gm 2048 Sep 18 12:05 .
drwxr-xr-x 39 dfrodrig gm 8192 Sep 19 16:24 ..
-rw------- 1 dfrodrig gm 736 May 30 2006 id_dsa
-rw------- 1 dfrodrig gm 541 May 30 2006 identity
-rw------- 1 dfrodrig gm 951 May 30 2006 id_rsa
bash-3.00$ rm *
bash-3.00$ ls
bash-3.00$ cd ..
bash-3.00$ ls
bin Desktop dpm globus-old identity.pub mail private public scripts test.properties Thumbs.db webpage
bash-3.00$ cd .ssh/
bash-3.00$ ls

And generated new keys! All because of access to a ssh gateway to service:
https://twiki.cern.ch/twiki/bin/view/LCG/SSHGateway

voilá!

bash-3.00$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/afs/cern.ch/user/d/dfrodrig/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /afs/cern.ch/user/d/dfrodrig/.ssh/id_rsa.
Your public key has been saved in /afs/cern.ch/user/d/dfrodrig/.ssh/id_rsa.pub.
The key fingerprint is:
a2:dd:42:c9:17:8d:23:0d:76:44:16:15:92:a1:e4:54 dfrodrig@pcitgd10.cern.ch


and here's the public id_rsa, which was already sent for verification!


ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2Y+bYbPZKhswRuJkgfQmV9Tfl02RaBue1KYqXS66rwiQSjSM4+kdSzsY9kfsmnIhJCItzdnRtvYdnfA7bV7Bh8IzxF/27AliKMOW35nYJohQL851B+amM9dpjtUmeRC5vladvfipdEo4q7FclsZ+H4gv6+AHfKgnHj0PCAQNkkNwFF3ksiKftgIjOp3ewIvSqIexvpsigPcJTKu5TVpdrgxDkFuRIiHRX0ka+SMXa956IuVvGzavt2CT870uzcIa3eu1nihkFr88OX6lgsf5qWCTZKWpD5gQz3k2A5+RpW4VoNyBAmEm4UcTwD+BWU1M9PLgxLXgWWxx4z8/ovu60w== dfrodrig@pcitgd10.cern.ch

No comments: