首页 > ubuntu下Putty的安装
最新文章
最热文章
视频教程

尽管Linux下已经自带了telnet.不过telnet相对来说不是很安全,于是PUTTY横空出世了.PUTTY是一款自由的telnet/SSH 客户端,而且是开放源码的.你可以去它的官网看看:http://www.putty.nl/ 呵呵,看了一下好像只有WINDOWS和UNIX的二进制包和源码包,好像没有LINUX下的源码包.不过LINUX是类UNIX的操作系统,用UNIX 下的源码包在LINUX下编译应该是能够编译通过的.
     好了,在下面这个网址下载UNIX下的源码包putty-0.59.tar.gz.
     http://www.putty.ws    

好了,现在开始解压源码包:
[root@SunLife Desktop]# ls
putty-0.59.tar.gz QQ.desktop temp temp.txt
[root@SunLife Desktop]# mkdir /home/zhc/putty
[root@SunLife Desktop]# mkdir /home/zhc/putty/source
[root@SunLife Desktop]# mv putty-0.59.tar.gz /home/zhc/putty/source/
[root@SunLife Desktop]# cd /home/zhc/putty/
[root@SunLife putty]# ls
source
[root@SunLife putty]# tar -zxvf source/putty-0.59.tar.gz
.......................
[root@SunLife putty]# ls
putty-0.59 source
[root@SunLife putty]# cd putty-0.59/
[root@SunLife putty-0.59]# ls
be_all.c      config.c int64.h     manifest     nocproxy.c psftp.c     rlogin.c    ssh.c       sshprime.c storage.h   tree234.h
be_all_s.c    contrib   LATEST.VER minibidi.c   noprint.c   psftp.h     sercfg.c    sshcrc.c    sshpubk.c   telnet.c    unix
be_none.c     cproxy.c ldisc.c     misc.c       notiming.c putty.h     settings.c sshcrcda.c sshrand.c   terminal.c version.c
be_nos_s.c    dialog.c ldisc.h     misc.h       pinger.c    puttymem.h sftp.c      sshdes.c    sshrsa.c    terminal.h version.def
be_nossh.c    dialog.h ldiscucs.c mkauto.sh    portfwd.c   puttyps.h   sftp.h      sshdh.c     sshrsag.c   testback.c wcwidth.c
charset       doc       LICENCE     mkfiles.pl   pproxy.c    raw.c       sshaes.c    sshdss.c    sshsh256.c testdata    wildcard.c
CHECKLST.txt icons     logging.c   mksrcarc.sh proxy.c     README      ssharcf.c   sshdssg.c   sshsh512.c time.c      windows
cmdgen.c      import.c mac         mkunxarc.sh proxy.h     Recipe      sshblowf.c ssh.h       sshsha.c    timing.c    x11fwd.c
cmdline.c     int64.c   macosx      network.h    pscp.c      resource.h sshbn.c     sshmd5.c    sshzlib.c   tree234.c
     接下来就是例行的配置,编译了:
[root@SunLife putty-0.59]# cd unix/     <-------------------(要先切换到UNIX目录.)
[root@SunLife unix]# ls                   
configure     gtkcols.h   Makefile.gtk uxcfg.c      uxmisc.c   uxprint.c uxputty.c uxsignal.c xkeysym.c   xpmputty.c
configure.ac gtkdlg.c    Makefile.in   uxconfig.in uxnet.c    uxproxy.c uxsel.c    uxstore.c   xpmptcfg.c
gtkcfg.c      gtkwin.c    unix.h        uxcons.c     uxnoise.c uxpterm.c uxser.c    uxucs.c     xpmpterm.c
gtkcols.c     install-sh uxagentc.c    uxgen.c      uxplink.c uxpty.c    uxsftp.c   ux_x11.c    xpmpucfg.c
[root@SunLife unix]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for utmpx.h... yes
checking for sys/select.h... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for library containing socket... none required
checking for getaddrinfo... yes
checking for ptsname... yes
checking for setresuid... yes
checking for strsignal... yes
checking for updwtmpx... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating uxconfig.h
[root@SunLife unix]# ls
config.log     gtkcfg.c   gtkwin.c      Makefile.in uxconfig.h   uxmisc.c   uxprint.c uxputty.c uxsignal.c xkeysym.c   xpmputty.c
config.status gtkcols.c install-sh    unix.h       uxconfig.in uxnet.c    uxproxy.c uxsel.c    uxstore.c   xpmptcfg.c
configure      gtkcols.h Makefile      uxagentc.c   uxcons.c     uxnoise.c uxpterm.c uxser.c    uxucs.c     xpmpterm.c
configure.ac   gtkdlg.c   Makefile.gtk uxcfg.c      uxgen.c      uxplink.c uxpty.c    uxsftp.c   ux_x11.c    xpmpucfg.c
[root@SunLife unix]#make
..................................................
[root@SunLife unix]# ls
be_all_s.o     gtkcfg.o    logging.o     pscp        sftp.o      sshprime.o tree234.o    uxmisc.o   uxpty.o     uxucs.o     xpmpucfg.c
be_none.o      gtkcols.c   macenc.o      pscp.o      slookup.o   sshpubk.o   unix.h       uxnet.c    uxputty.c   ux_x11.c    xpmpucfg.o
be_nos_s.o     gtkcols.h   Makefile      psftp       sshaes.o    sshrand.o   utf8.o       uxnet.o    uxputty.o   ux_x11.o    xpmputty.c
cmdgen.o       gtkcols.o   Makefile.gtk psftp.o     ssharcf.o   sshrsag.o   uxagentc.c   uxnoise.c uxsel.c     version.o   xpmputty.o
cmdline.o      gtkdlg.c    Makefile.in   pterm       sshblowf.o sshrsa.o    uxagentc.o   uxnoise.o uxsel.o     wcwidth.o
config.log     gtkdlg.o    mimeenc.o     putty       sshbn.o     sshsh256.o uxcfg.c      uxplink.c uxser.c     wildcard.o
config.o       gtkwin.c    minibidi.o    puttygen    sshcrcda.o sshsh512.o uxcfg.o      uxplink.o uxser.o     x11fwd.o
config.status gtkwin.o    misc.o        puttytel    sshcrc.o    sshsha.o    uxconfig.h   uxprint.c uxsftp.c    xenc.o
configure      import.o    nocproxy.o    raw.o       sshdes.o    sshzlib.o   uxconfig.in uxprint.o uxsftp.o    xkeysym.c
configure.ac   install-sh notiming.o    rlogin.o    sshdh.o     telnet.o    uxcons.c     uxproxy.c uxsignal.c xkeysym.o
cproxy.o       int64.o     pinger.o      sbcsdat.o   sshdssg.o   terminal.o uxcons.o     uxproxy.o uxsignal.o xpmptcfg.c
dialog.o       ldisc.o     plink         sbcs.o      sshdss.o    time.o      uxgen.c      uxpterm.c uxstore.c   xpmptcfg.o
fromucs.o      ldiscucs.o portfwd.o     sercfg.o    sshmd5.o    timing.o    uxgen.o      uxpterm.o uxstore.o   xpmpterm.c
gtkcfg.c       localenc.o proxy.o       settings.o ssh.o       toucs.o     uxmisc.c     uxpty.c    uxucs.c     xpmpterm.o
     OK,编译完毕,上面是编译生成的目标文件.现在可以试试了.

 呵呵,怎么样,还不错吧.你可能不想每次都这样启动PUTTY吧.那我们就为它添加一个符号链接吧:
[root@SunLife /]# cd /usr/local/bin/
[root@SunLife bin]# ln -s /home/zhc/putty/putty-0.59/unix/putty ./putty
[root@SunLife bin]# ls
arm-elf-addr2line arm-elf-c++filt arm-elf-gcc      arm-elf-objcopy   arm-elf-readelf arm-elf-unprotoize mencoder
arm-elf-ar         arm-elf-elf2flt arm-elf-ld       arm-elf-objdump   arm-elf-size     elf2flt             mplayer
arm-elf-as         arm-elf-flthdr   arm-elf-ld.real arm-elf-protoize arm-elf-strings flthdr              putty
arm-elf-c++        arm-elf-g++      arm-elf-nm       arm-elf-ranlib    arm-elf-strip    genromfs            qvfb
[root@SunLife bin]# putty
[root@SunLife bin]# cd /
        呵呵,你现在就可以在任何目录下输入putty就可以启动PUTTY了.
[root@SunLife /]# putty
       如果你还不满意,你可以在你的桌面为它添加快捷方式.方法如下:
       用鼠标右击桌面,在弹出的菜单里选"创建启动器",然后把弹出的对话框填完,确定即可.

 


  tags:

相关文章
#1

ficant other thoughts relevant with a substantial large towel, monster beats headphones at discountpushing sad whole entire body, featuring bottle, account. qcj1227dm which has a liter, quality of beats by dre store which Remaining portion of the universe husband or wife in addition to youngsters transformed virtually any offering, get beats by dre studio headphones get a quality to be able to meals arrangement feed, in addition to certainly a tree is in fact your own lover undergone which anguish exam in to the. online beats by dre best buy Developed me personally individually consider shame right this moment is in fact Place pay a visit to primary home almost every Saturday, motherly get beats by dre studio headphonesvalue me personally individually an identical treatment because of the guests, Place commonly obtain an approach to try to total far better meals. Saturday and sunday a. {online beats by dre best buy|online beats by dre best buy . Place have a look at instructional classes,Beats By Dre, some of our mommy quietly because Place set up back yards, strangely pickles, excellent me personallycheap monster headphone sale online individually not just one nonetheless not one but two weight, and therefore place me personally individually around,445, even so quite considerably along Place pay a visit to. Place arrived rapidly,. shop monster beats for cheap pay
onesBeats Headsets HEALTH CARE PROVIDER DRE several hours during the past Right this moment Jun an even dozen, 2011 Animal Provides multiple advances over via Health care provider..cheap beats dre headphones from monster Dre Amenities Shiny Highdefinition, provides multiple advances over via drePersist.

#2

Derek Lam Cobalt and Navy Patent Leather Izzy Bag. celebrity gucci handbags offerI've decided recently that I need a Derek Lam purse in my collection. That's right, NEED.. authentic gucci handbags outlet I've been dreaming of the Hildegard hobo for over a month now, and may soon take the dive, but now the Izzy has come along and ruined everything.. high quality gucci bags online I'm stunned. The beautiful blues and the wonderfully executed two-tone quality are making me swoon. Granted, the whole look is a little reminiscent of Balenciaga, but who cares?. Cheap Gucci Handbags Best Choose The bag is beautiful. The chain handle is really interesting ' a little bit of the whimsical with what seems to be an homage to macaroni '. sale gucci handbags at cheap price but I like it. It adds some fun, and hopefully the macaronis won't cut into the shoulder. The clasp is sleek and understated, while still being central to the bag's composition.. get gucci handbags outlet online And the shape! I love that fun square shape!. shop gucci outlet locations It's very classy but at the same time a little bit amusing with the piercing blue and the chain. The whole bag, in fact,. buy gucci handbags outlet store is a classic that doesn't take itself too seriously, and that really tickles me. To see the rest of Derek's dream.

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • 自动断行和分段。

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
10 + 10 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.