SSH

Uploading Files Required for Installation

[Note]Note

If you have an existing installation of Tectia Server for IBM z/OS version 6.x, you can skip to Upgrading from Tectia Server for IBM z/OS Version 6.x.

The following files need to be uploaded in binary mode to your z/OS host:

  • Tectia SSH Assistant XMIT file SSZASST.XMIT

    Upload the file with the following data set attributes:

    Data set organization: RECFM=FB
    Record length: LRECL=80
    Space allocation unit: TRACKS
    Primary space allocation: PRIMARY=15
  • Tectia Server for IBM z/OS product tar archivessh-tectia-server-zos-6.5.0.XXX-ibmzos_1_13.tar.Z.

    The product tar archive can be transferred to either the Unix file system or to a sequential data set. Approximately 55M or 120 cylinders are required.

    You can use the following data set attributes:

    Data set organization: RECFM=U
    Maximum block size: BLKSIZE=32256
    Record length: LRECL=0
    Space allocation unit: CYLINDERS
    Primary space allocation: PRIMARY=120
  • Product licenses tar archive

Check if you have some Secure Shell software, for example earlier versions of Tectia products or IBM Ported Tool for z/OS (OpenSSH), running on the machine where you are planning to install the new Tectia version.

In the following sections we provide you with the required commands for uploading the files using OpenSSH, FTP or FTP via cURL.

Uploading Installation Files Using OpenSSH

If an OpenSSH server is already running on the host, use sftp to transfer the installation files in binary format to the USS file hierarchy, from where the XMIT file can be copied to a data set with the cp command:

cp -P 'recfm=fb,lrecl=80,blksize=6160,space=(trk,(15,15))' \
SSZASST.XMIT //SSZASST.XMIT

Before installing Tectia Server 6.5 for IBM z/OS, stop any OpenSSH servers running on port 22, or change their listener port. You do not need to uninstall the OpenSSH software.

Proceed with the installation normally as described in Installing Tectia Server for IBM z/OS.

Uploading Installation Files Using FTP

Connect to your z/OS host and change file transfer mode to binary:

ftp USER@zoshost
ftp> binary

Upload the Tectia SSH Assistant XMIT file:

ftp> quote site RECFM=FB LRECL=80 TRACKS PRIMARY=15
ftp> put SSZASST.XMIT

Upload the product tar archive:

ftp> quote site RECFM=U BLKSIZE=32256 LRECL=0 CYLINDERS PRIMARY=120
ftp> put ssh-tectia-server-zos-6.5.0.XXX-ibmzos_1_13.tar.Z SSZ.V6500XXX.TARZ

(Replace the XXX in the tar archive and destination data set names with the correct build number.)

Upload the licenses tar archive to the user's home directory:

ftp> cd /u/user/
ftp> put licences.tar
ftp> quit

Uploading Installation Files Using FTP via cURL

Upload the Tectia SSH Assistant XMIT file:

curl -v -u USER -Q 'site RECFM=FB LRECL=80 TRACKS PRIMARY=15' \
-T SSZASST.XMIT ftp://zoshost

Upload the product tar archive:

curl -v -u USER -Q 'site RECFM=U BLKSIZE=32256 LRECL=0 CYLINDERS PRIMARY=120' \
-T ssh-tectia-server-zos-6.5.0.XXX-ibmzos_1_13.tar.Z \
ftp://zoshost/SSZ.V6500XXX.TARZ

(Replace the XXX in the tar archive and destination data set names with the correct build number.)

Upload the licenses tar archive to the user's home directory:

curl -v -u USER -T licences.tar ftp://zoshost//u/user