| 95 | === Install OpenSSH if required === |
| 96 | If the installation is on a VM that does not include scp, sftp, or rcp, then the following command will download and install that package. |
| 97 | {{{ |
| 98 | [root@localhost /]# yum install openssh-clients |
| 99 | |
| 100 | ... |
| 101 | |
| 102 | Transaction Summary |
| 103 | ================================================================================ |
| 104 | Install 1 Package(s) |
| 105 | Upgrade 2 Package(s) |
| 106 | |
| 107 | Total download size: 969 k |
| 108 | Is this ok [y/N]: y |
| 109 | Downloading Packages: |
| 110 | (1/3): openssh-5.3p1-94.el6.i686.rpm | 260 kB 00:00 |
| 111 | (2/3): openssh-clients-5.3p1-94.el6.i686.rpm | 398 kB 00:00 |
| 112 | (3/3): openssh-server-5.3p1-94.el6.i686.rpm | 310 kB 00:00 |
| 113 | -------------------------------------------------------------------------------- |
| 114 | Total 3.1 MB/s | 969 kB 00:00 |
| 115 | Running rpm_check_debug |
| 116 | Running Transaction Test |
| 117 | Transaction Test Succeeded |
| 118 | Running Transaction |
| 119 | Updating : openssh-5.3p1-94.el6.i686 1/5 |
| 120 | Updating : openssh-server-5.3p1-94.el6.i686 2/5 |
| 121 | Installing : openssh-clients-5.3p1-94.el6.i686 3/5 |
| 122 | Cleanup : openssh-server-5.3p1-84.1.el6.i686 4/5 |
| 123 | Cleanup : openssh-5.3p1-84.1.el6.i686 5/5 |
| 124 | Verifying : openssh-server-5.3p1-94.el6.i686 1/5 |
| 125 | Verifying : openssh-clients-5.3p1-94.el6.i686 2/5 |
| 126 | Verifying : openssh-5.3p1-94.el6.i686 3/5 |
| 127 | Verifying : openssh-5.3p1-84.1.el6.i686 4/5 |
| 128 | Verifying : openssh-server-5.3p1-84.1.el6.i686 5/5 |
| 129 | |
| 130 | Installed: |
| 131 | openssh-clients.i686 0:5.3p1-94.el6 |
| 132 | |
| 133 | Dependency Updated: |
| 134 | openssh.i686 0:5.3p1-94.el6 openssh-server.i686 0:5.3p1-94.el6 |
| 135 | |
| 136 | Complete! |
| 137 | |
| 138 | }}} |
| 139 | |