![]() $ sudo apt install x11-apps Step 2: configure X11 forwarding To install X11 related packages and tools: So, I skipped installing this package, which has xclock and I used only xterm to test the X11 forwarding. Note: The xorg-x11-apps package has been provided in the CodeReady Linux Builder Repository for RHEL8. Installing xclock or xterm packages are optional as this is installed in this post to test the X11 forwarding using xclock or xterm commands. Install X11 packages with following command based on your operating system release and version: You may need sudo permission to run X11 forwarding commands as a root user in order to complete the setup.Ĭonnect to your EC2 instance using SSH client, and perform following setup as needed.In order to securely configure or install PuTTY, refer to the section Configuring ssh-agent on Windows in the blog post Securely Connect to Linux Instances Running in a Private Amazon VPC.Install tools such as PuTTY and Xming on the Windows-based bastion host from which you want to SSH to Linux EC2 host and X11 forwarding.This is to avoid any high latency in X11 forwarding during your application installations. I recommend having bastion hosts in the same Availability Zone or Region as the EC2 Linux hosts that you plan to connect and forward X11 to.You can use any OS-based systems as a bastion host as long you have corresponding client tools installed or X11 supported by that OS. If not, please configure a bastion host using Windows operating system with needed SSH access via port 22 to EC2 instance running linux-based operating systems. This OS must have access to the EC2 machines running Linux such as RHEL, Amazon Linux, SUSE Linux, and Ubuntu servers. Ensure that you have a bastion host running on Amazon EC2 with Windows OS for this blog.To complete this walkthrough the following is required: Please refer to the prior link for more details and steps to enable NICE DCV. You can consider using NICE DCV as an alternative option for running GUI-based applications. This blog talks about steps that must be done in order to forward the X11 screen to your highly secure Windows OS-based bastion hosts. During the application installation or configuration, you might need to install software such as an Oracle database or a third-party database using GUI methods. They can install all the needed tools in one server to perform database administrative or support activities. They do this instead of directly using their laptops connecting to the database servers. Most commonly, database administrators use a common Database Management, bastion host, or jump servers to connect database servers. Typically, you use SSH clients (such as PuTTY or SSH client) to establish the connection from the Windows OS-based bastion or jump servers to connect with Amazon EC2 instances running linux-based OS. There are several techniques to connect Amazon EC2 instances to manage OS level configurations. ![]() This blog provides detailed steps around SSH and x11 tools, various network and operating system (OS) level settings, and best practices to achieve the X11 forwarding on Amazon EC2 when installing databases like Oracle using GUI. This is helpful for system and database administrators, and application teams that want to perform software installations on Amazon EC2 using GUI method. In this post, I discuss enabling X11 forwarding from Red Hat Enterprise Linux (RHEL), Amazon Linux, SUSE Linux, Ubuntu servers running on Amazon EC2. 3.8.3.This post was written by Sivasamy Subramaniam, AWS Database Consultant.3.8.3.24 -proxycmd: specify a local proxy command.3.8.3.23 -sessionlog, -sshlog, -sshrawlog: specify session logging.3.8.3.22 -sercfg: specify serial port configuration.3.8.3.21 -pgpfp: display PGP key fingerprints.3.8.3.20 -hostkey: manually specify an expected host key.3.8.3.19 -loghost: specify a logical host name.3.8.3.18 -i: specify an SSH private key.3.8.3.17 -4 and -6: specify an Internet protocol version.3.8.3.16 -1 and -2: specify an SSH protocol version.3.8.3.14 -nc: make a remote network connection in place of a remote shell or command.3.8.3.13 -N: suppress starting a shell or command.3.8.3.12 -t and -T: control pseudo-terminal allocation.3.8.3.11 -X and -x: control X11 forwarding.3.8.3.10 -A and -a: control agent forwarding.3.8.3.9 -agent and -noagent: control use of Pageant for authentication.3.8.3.6 -m: read a remote command or script from a file.3.8.3.5 -L, -R and -D: set up port forwardings.3.8.3.2 Selecting a protocol: -ssh, -telnet, -rlogin, -raw -serial.3.8.1 Starting a session from the command line.PuTTY can be made to do various things without user intervention by supplying command-line arguments (e.g., from a command prompt window, or a Windows shortcut). Previous page next page 3.8 The PuTTY command line
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |