First, peanut shell installation (before installation needs in the Peanut Shell website registration to get a free domain name, with this domain name, behind the outside network through access to this domain name to achieve SSH login Intranet Linux host)
[[email protected] desktop]# wget http://download.oray.com/peanuthull/linux/phddns-2.0.6.el6.x86_64.rpm
--2014-10-27 20:11:30--http://download.oray.com/peanuthull/linux/phddns-2.0.6.el6.x86_64.rpm
Parsing host download.oray.com ... 61.152.96.115, 202.105.21.208
Connecting download.oray.com|61.152.96.115|:80 ... is connected.
An HTTP request has been made and is waiting for a response ... OK
Length: 30717 (30K) [Application/x-redhat-package-manager]
Saving to: "phddns-2.0.6.el6.x86_64.rpm"
100%[========================================================================================================== ===========================================>] 30,717--.-k/s in 0.1s
2014-10-27 20:11:30 (271 kb/s)-Saved "phddns-2.0.6.el6.x86_64.rpm" [30717/30717])
[[email protected] Desktop]# ls
1.jpg Centos-base.repo linuxqq-v1.0.2-beta1.i386.rpm phddns-2.0.6.el6.x86_64.rpm Yum yum~
[email protected] Desktop]# yum localinstall-y phddns-2.0.6.el6.x86_64.rpm
Loaded Plugins:fastestmirror
Setting Up Local Package Process
Examining phddns-2.0.6.el6.x86_64.rpm:phddns-2.0.6-1.el6.x86_64
Marking phddns-2.0.6.el6.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
Resolving Dependencies
--Running Transaction check
---> Package phddns.x86_64 0:2.0.6-1.el6 'll be installed
--Finished Dependency Resolution
Dependencies resolved
=============================================================================================================== ================================================================================
Package Arch Version Repository Size
=============================================================================================================== ================================================================================
Installing:
Phddns x86_64 2.0.6-1.el6 /phddns-2.0.6.el6.x86_64 K
Transaction Summary
=============================================================================================================== ================================================================================
Install 1 package (s)
Total Size:55 k
Installed size:55 K
Downloading Packages:
Running Rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing:phddns-2.0.6-1.el6.x86_64 1/1
Verifying:phddns-2.0.6-1.el6.x86_64 1/1
Installed:
Phddns.x86_64 0:2.0.6-1.el6
complete!
Second, start the peanut shell
Start the peanut shell in the background and check the boot status:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/41/wKioL1ROVIrwC9eXAABTo1LLEXg299.jpg "style=" float: none; "title=" 11.jpg "alt=" wkiol1rovirwc9exaabto1llexg299.jpg "/>650) this.width=650; src= http://s3.51cto.com/ Wyfs02/m00/4d/40/wkiom1rovmkgvsijaaje5h24dqi390.jpg "title=" 13.jpg "alt=" wkiom1rovmkgvsijaaje5h24dqi390.jpg "/ >
Close the peanut shell:
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/41/wKioL1ROVMWRF4t7AACD22ec18U340.jpg "title=" 12.jpg "alt=" Wkiol1rovmwrf4t7aacd22ec18u340.jpg "/>
Three, port mapping
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/41/wKioL1ROVVbxPM-DAAITvfN-VD0731.jpg "title=" 14.jpg "alt=" Wkiol1rovvbxpm-daaitvfn-vd0731.jpg "/>
Four, remote SSH access to the intranet host
The hostname is the free domain name applied on the Peanut shell website.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/41/wKioL1ROVxnQAtUUAAK_esUm4nY590.jpg "title=" 15.jpg "alt=" Wkiol1rovxnqatuuaak_esum4ny590.jpg "/>
Five, landing success
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/41/wKioL1ROWTGTbTqQAAFx0Xuq0FM484.jpg "title=" 16.jpg "alt=" Wkiol1rowtgtbtqqaafx0xuq0fm484.jpg "/>
This article is from the "Silent Flowers" blog, please be sure to keep this source http://ymz007.blog.51cto.com/2598720/1568634
Peanut Shell + port mapping for remote SSH access to intranet Linux hosts