The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM
The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM
The Virtualization Cookbook for SLES 10 SP2 - z/VM - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
200+0 records out<br />
209715200 bytes (2<strong>10</strong> MB) copied, 17.87 s, 11.7 MB/s<br />
# ls -lh testdata.txt<br />
-rw-r--r--. 1 root root 200M Oct 9 14:51 testdata.txt<br />
► Copy the file locally with the scp command, two times with specific encryption algorithms<br />
and once without, prefixing all with the time command:<br />
# time scp -c 3des-cbc /tmp/testdata.txt localhost:/dev/null<br />
<strong>The</strong> authenticity of host 'localhost (::1)' can't be established.<br />
RSA key fingerprint is 41:77:58:<strong>10</strong>:50:09:ba:2a:6a:7b:8b:56:95:1a:37:79.<br />
Are you sure you want to continue connecting (yes/no)? yes<br />
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.<br />
root@localhost's password:<br />
testdata.txt <strong>10</strong>0% 200MB 4.6MB/s 00:44<br />
real 0m51.295s<br />
user 0m17.797s<br />
sys 0m1.047s<br />
# time scp -c aes128-cbc /tmp/testdata.txt localhost:/dev/null<br />
root@localhost's password:<br />
testdata.txt <strong>10</strong>0% 200MB 28.6MB/s 00:07<br />
real 0m<strong>10</strong>.780s<br />
user 0m1.212s<br />
sys 0m0.698s<br />
[root@gpok225 ssl]# time scp /tmp/testdata.txt localhost:/dev/null<br />
root@localhost's password:<br />
testdata.txt <strong>10</strong>0% 200MB 16.7MB/s 00:12<br />
real 0m15.977s<br />
user 0m3.072s<br />
sys 0m0.753s<br />
<strong>The</strong> output shows a throughputs of about 4.6, 28.6 and 16.7 MB/s and a user times of<br />
about 17.7, 1.2 and 3.0 seconds.<br />
► Determine if the necessary cryptographic-related RPMs are installed:<br />
# rpm -qa | grep openssl-ibmca<br />
No output shows that they are not installed.<br />
► Install the RPM with the yum install command:<br />
# yum -y install openssl-ibmca openssl-ibmca.s390<br />
...<br />
Installed:<br />
openssl-ibmca.s390 0:1.1-3.el6 openssl-ibmca.s390x 0:1.1-3.el6<br />
Dependency Installed:<br />
glibc.s390 0:2.12-1.7.el6 keyutils-libs.s390 0:1.4-1.el6<br />
krb5-libs.s390 0:1.8.2-3.el6 libcom_err.s390 0:1.41.12-3.el6<br />
libselinux.s390 0:2.0.94-2.el6 nss-softokn-freebl.s390 0:3.12.7-1.1.el6<br />
openssl.s390 0:1.0.0-4.el6 zlib.s390 0:1.2.3-25.el6<br />
Complete!<br />
► Verify that the RPMs are now installed:<br />
# rpm -qa | egrep "libica|ibmca"<br />
libica-2.0.3-2.el6.s390x<br />
openssl-ibmca-1.1-3.el6.s390x<br />
openssl-ibmca-1.1-3.el6.s390<br />
214 <strong>The</strong> <strong>Virtualization</strong> <strong>Cookbook</strong> <strong>for</strong> RHEL 6