To enable this, add the -X or -Y options to your command line. This means that if your client system is running the X Window System (most Unix/Linux systems, and any Mac or Windows system on which an X Server has been started), you can run remote graphical programs and display the output (windows) locally. SSH is capable of carrying graphical traffic using the X Window System (X11) protocol. Using SSH for a Graphical Application (X11 Tunnelling) Connect to a shell for account 'kim' on the computer 'winter': ssh Like above, with compression: ssh -C Run df -h on the remote system, and display the graphics on the local computer: ssh -XC firefox.Specifies the private key file to be used (default: all private keys in ~/.ssh)Ĭonnect to the TCP/IP port portnumber rather than the default SSH port 22. Turn on X11 forwarding (it is recommended that -C also be used) - See X11 Tunnelling, below command is the command to be executed on the remote computer (optional - the default is to open whatever shell or application is the default for the specified user)Įnable compression (gzip) to enhance performance.host is the name or IP address of the remote computer.user is the name of the user account on the remote computer (optional, if the user account name is the same on both systems).Note that the ssh command name may vary, depending on the software used. For those used from the command line, the most basic form of invocation is: Some SSH clients have a graphical interface. The most basic use of SSH is for a text-based connection used to enter commands and view command output, or execute a text-based application such a menu-driven system. (May not be present in newer non-developer versions of Chrome on ChromeOS - search the Chrome app store for an SSH app).įree and premium versions available in the Google Play store. The CROme SHell (crosh) included with ChromeOS has SSH support - use Ctrl-Alt-T inside Chrome to open a crosh tab. Included in almost all Linux distributions Here are some SSH clients (there are many others available): On Windows, the PuTTy open-source ssh client is recommended. You can obtain SSH client and server software for most other platforms, including Windows and Android. SSH client and server programs are included with almost all Linux distributions and Mac OS/X. 6.3 Disconnecting from and Reconnecting to a Login Session.6.2.3 Setting up Public Key Authentication on Two Machines.6.2.2 Sending the Public Key to a Remote System Administrator.6.2.1 Creating a Public/Private Key Pair.6.1 Background: Public Key Cryptography.6 Using SSH with Public-Key Authentication.3 Using SSH for a Graphical Application (X11 Tunnelling). 2 Using SSH for a Text-Based Connection.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |