I’ve been using this combination on a daily basis for more than a year now, and I can’t stress enough how really useful it is. I use it both at home and at work, and everything is very easy and – most importantly – absolutely free.
The sshd daemon that comes with the SolarisTM 9 & 10 Operating System uses TCP (Transmission Control Protocol) Wrappers (also called “libwrap”) to control access to hosts. (Unlike other systems, Solaris 9 & 10 does not use the OpenSSH keywords “AllowHosts” and “DenyHosts” to permit or prevent SSH Secure Shell connections). Chapter 11 Using Solaris Secure Shell (Tasks) Solaris Secure Shell enables a user to securely access a remote host over an unsecured network. The shell provides commands for remote login and remote file transfer. The following is a list of the information in this chapter.
![Solaris 11 ssh offline Solaris 11 ssh offline](/uploads/1/1/9/7/119759005/581927725.png)
X11 forwarding with SSH
X11 Forwarding with ssh is a wonderful feature which allows you get windows of a remotely started applications shown on your own desktop. For Windows, there are lots of pretty good albeit expensive products like Citrix, GoGlobal and XWin32, which allow you access your remote Unix desktop sessions. But in reality, if you don’t need any sessions but only want to remotely start an application and get a window from it on your desktop, you won’t need any of these expensive products – the easiest will be to use X11 forwarding and Xming.
Xming
Xming is an X Windows port for Microsoft Windows. Essentially it’s an X-server which starts transparently on top of your MS Windows desktop. It allows you to redirect graphical output of applications you run on remote Unix servers and therefore see these applications windows on your MS Windows desktop.
Xming is very simple and easy to use. All you have to do is download its distribution archive from the project’s page on SourceForge: XMing @ SourceForge.
After you install it, I recommend you have a quickstart panel shortcut created for it, and have your command line altered to something like this:
Configure SSHd for X11 forwarding
Now that you have Xming installed, start it and it’s time to take care of the ssh side of things. We have to alter the ssh daemon config file: /etc/ssh/sshd_config. Just ensure that it has the following:
If you already have similar parameters, don’t do anything. But if you had to change the config file, it’s time to restart ssh:
Solaris 11 Ssh File
All that’s left now is to download the wonderful free Putty client, that is if you’re not using it yet. You can get it here:
Putty: a free telnet/ssh client.
Putty: a free telnet/ssh client.
I won’t go into all the Putty configuration details, I’ll only mention that for X11 forwarding, you have to do the following: in the main configuration window of Putty (you get it when you start Putty), select Connection section, then SSH, then X11, and make sure you tick the Enable X11 Forwarding option.
That’s it, you’re good to go! Good luck!
Updates will automatically create an alternate Boot Environment to which changes will be made. On Oracle Solaris 10, Live Upgrade must be manually invoked and of, in addition, running on UFS, significant planning including potentially disk reformatting may be required to achieve Live Upgrade storage requirements.
Other advantages are similar to Oracle Solaris 10’s when the latter is running on ZFS:
- If upgrade is not what was expected, rollback to pre-upgrade environment.
- ZFS snapshots are almost instantaneous.
- This can have a positive impact on decreasing maintenance windows, particularly if it is possible to start the update operation during production time. Downtime is then a reboot, verify that the applications are running correctly, and then enable system to production mode.
Solaris 11 Ssh Maintenance
- Organizations wanting to use Live Upgrade on UFS were often constrained by disk requirements, which sometimes required breaking a mirror so that one half would be the ‘before patching’ state, and the other ‘after patching’ state. On Oracle Solaris 11 customers are not forced to give up mirroring in order to build a safety net for updating a system.