Choose a host type and connection type
The remoting functionality in Deploy and Release uses the Overthere framework to manipulate files and execute commands on remote hosts. To determine which type of Overthere host to create and which connection type to use, follow these guidelines described in Remoting plugin and Overthere framework.
This topic describes how to choose a host and connection.
If the remote host is the Deploy or Release server
Create a local host (overthere.LocalHost
) configuration item (CI).
If the remote host a Unix host
Create an SSH host (overthere.SshHost
) CI, set the os
property to UNIX, and depending on your needs, select and option below:
- If you need to connect to the target system with the user that has the privileges to manipulate the files and execute the commands required: Use the SCP connection type.
- If you need to log in as one user and then use
sudo
, or a similar command likesx
, but notsu
, to execute commands and manipulate files as a different user. Use the SUDO connection type. If you do not need this functionality, use the INTERACTIVE_SUDO connection type.
- If you need to log in as one user and then use
su
to execute commands and manipulate files as a different user: Use the SU connection type.
If the remote host is a Microsoft Windows host
- If you configured WinRM on the remote host: Create an SMB host (
overthere.SmbHost
) CI.
- If Deploy or Release server is running on a Windows host: Use the WINRM_NATIVE connection type. If Deploy or Release server is not running on a Windows: Use the WINRM_INTERNAL connection type. Done.
If WinSSHD is installed on the remote host:
- Create an SSH host (
overthere.SshHost
) CI, - Set the
os
property to WINDOWS, and use the SFTP_WINSSHD connection type.
If OpenSSH is (Cygwin or Copssh) installed on the remote host:
- Create an SSH host (
overthere.SshHost
) CI. - Set the
os
property to WINDOWS, and use the SFTP_CYGWIN connection type. Done.
If Telnet is installed on the remote host: Create an SMB host (overthere.SmbHost
) CI and use the TELNET connection type.
The SMB protocol is supported in Deploy. SMB is not supported in Release.
If the remote host is a z/OS host
- Create an SSH (
overthere.SshHost
) CI. - Set the
os
property to ZOS, and use the SFTP connection type.