SSH client (mirror)

Simon Tatham 11192e2e33 Backport of the pre-0.77 demo features to 0.76. 2 jaren geleden
charset 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
contrib 334d87251e New script contrib/plinkfs. 4 jaren geleden
doc 1fd7baa734 Update version number for 0.76 release. 3 jaren geleden
icons 2ec2b796ed Migrate all Python scripts to Python 3. 5 jaren geleden
test 97137f5cfd PuTTYgen: explicitly use 'Kbyte' in Argon2 naming. 3 jaren geleden
unix 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 jaren geleden
windows 11192e2e33 Backport of the pre-0.77 demo features to 0.76. 2 jaren geleden
.gitignore 1b40d9f3ba Auxiliary application: 'psocks', a simple SOCKS server. 5 jaren geleden
Buildscr 1fd7baa734 Update version number for 0.76 release. 3 jaren geleden
Buildscr.cv 3481d16b0f Remove #ifdef COVERITY. 3 jaren geleden
CHECKLST.txt d851df486f Fix build failure at -DNOT_X_WINDOWS. 4 jaren geleden
LATEST.VER 1fd7baa734 Update version number for 0.76 release. 3 jaren geleden
LICENCE 7c27cdc16e It's a new year. 4 jaren geleden
README 4ec2791945 Remove Makefile.bor. 7 jaren geleden
Recipe 11192e2e33 Backport of the pre-0.77 demo features to 0.76. 2 jaren geleden
agentf.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
aqsync.c 0c44fa85df Build outgoing SSH agent requests in a strbuf. 6 jaren geleden
be_all.c 0f9e0d6e41 New GUI for protocol selection. 3 jaren geleden
be_all_s.c 0f9e0d6e41 New GUI for protocol selection. 3 jaren geleden
be_misc.c 8d186c3c93 Formatting change to braces around one case of a switch. 5 jaren geleden
be_none.c 0f9e0d6e41 New GUI for protocol selection. 3 jaren geleden
be_nos_s.c 0f9e0d6e41 New GUI for protocol selection. 3 jaren geleden
be_nossh.c 0f9e0d6e41 New GUI for protocol selection. 3 jaren geleden
be_ssh.c 0f9e0d6e41 New GUI for protocol selection. 3 jaren geleden
callback.c 8d747d8029 Add lots of missing 'static' keywords. 5 jaren geleden
cgtest.c ef5540c185 cmdgen: support configurable key fingerprint type. 4 jaren geleden
clicons.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
cmdgen.c 27a04d96a3 cmdgen: add missing null pointer check in --dump mode. 3 jaren geleden
cmdline.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 jaren geleden
conf.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
config.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 jaren geleden
configure.ac f3ee4dbe20 Remove -Werror from all the default cflags. 3 jaren geleden
console.c 1b1a91fa3d Console host key prompts: add 'more info' action. 4 jaren geleden
console.h 3c6ab5bbb7 Factor out some common code in {ux,win}cons.c. 4 jaren geleden
cproxy.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
defs.h 736646b0c9 Fix a few warnings reported by Visual Studio. 3 jaren geleden
dialog.c 1276c13e6a dialog system: add a side-by-side alignment feature. 3 jaren geleden
dialog.h 1276c13e6a dialog system: add a side-by-side alignment feature. 3 jaren geleden
ecc.c c9a8fa639e New query function ecc_montgomery_is_identity. 5 jaren geleden
ecc.h c9a8fa639e New query function ecc_montgomery_is_identity. 5 jaren geleden
errsock.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
fuzzterm.c 329bdb344c Make TermWin's palette_get_overrides() take a Terminal *. 3 jaren geleden
import.c 2762a2025f Merge the 0.74 release branch back to master. 4 jaren geleden
ldisc.c cd3e917fd0 Remove assertion that len != 0 in ldisc_send. 4 jaren geleden
ldisc.h e0a76971cc New array-growing macros: sgrowarray and sgrowarrayn. 6 jaren geleden
licence.pl 774d37a0dc Autogenerate licence text in doc subdir from LICENCE. 9 jaren geleden
logging.c 76430f8237 Assorted benign warning fixes. 5 jaren geleden
mainchan.c b4e1110892 Relax criteria for accepting agent-forwarding channel-opens. 4 jaren geleden
marshal.c 50fce01958 Fix a gcc compile failure due to -Werror. 5 jaren geleden
marshal.h 32d61d7c48 Add some more marshalling functions, for file parsing. 5 jaren geleden
memory.c 88d5948ead Fix undefined behaviour in safegrowarray. 5 jaren geleden
millerrabin.c 750f5222b2 Factor out Miller-Rabin checking into its own file. 5 jaren geleden
minibidi.c 8d186c3c93 Formatting change to braces around one case of a switch. 5 jaren geleden
misc.c 3461196197 Pass more information to interactive host key check. 4 jaren geleden
misc.h 609502b04b Add utility function 'memxor'. 4 jaren geleden
miscucs.c 7762d71226 New centralised helper function dup_mb_to_wc(). 9 jaren geleden
mkauto.sh a947c49bec Move the Unix configure script up to the top level. 11 jaren geleden
mkfiles.pl f3ee4dbe20 Remove -Werror from all the default cflags. 3 jaren geleden
mksrcarc.sh 65d3afcaa1 Remove all trace of the Inno Setup installer. 6 jaren geleden
mkunxarc.sh 4c49e29b19 Turn mkunxarc.sh back into an ordinary sh script. 10 jaren geleden
mpint.c 736646b0c9 Fix a few warnings reported by Visual Studio. 3 jaren geleden
mpint.h 20a9912c7c Add mp_copy_integer_into function. 5 jaren geleden
mpint_i.h dec79cf152 Start a file of 'unsafe' mp_int functions. 5 jaren geleden
mpunsafe.c dec79cf152 Start a file of 'unsafe' mp_int functions. 5 jaren geleden
mpunsafe.h dec79cf152 Start a file of 'unsafe' mp_int functions. 5 jaren geleden
network.h 630cac3aa2 Log when a network connection succeeds. 5 jaren geleden
nocmdline.c 575ee4f8fc Make cmdline_tooltype a const int. 5 jaren geleden
nocproxy.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
nogss.c d764872e9e Rewrite gprefs() in settings.c so that its input mapping includes 13 jaren geleden
noprint.c 6bf3b49471 noprint.c: fix compile failure. 4 jaren geleden
noproxy.c a058054253 Introduce noproxy.c. 4 jaren geleden
norand.c 06531c3b61 Centralise 'no random numbers' stubs into norand.c. 5 jaren geleden
noshare.c 40e648db46 Fix type error in noshare.c. 4 jaren geleden
noterm.c 4db5c2899f Make calling term_nopaste() a cross-platform feature. 11 jaren geleden
notiming.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
nullplug.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
pageant.c 7c42ca0280 pageant_get_keylist: add missing init of kl->broken. 3 jaren geleden
pageant.h b8374f1bdf winpgnt: menu options to delete/reencrypt everything. 3 jaren geleden
pgssapi.c a0b91e99b8 Fix a missing } in a GSSAPI-related comment. 6 jaren geleden
pgssapi.h 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
pinger.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
pockle.c 1335e56d40 Fix false negative in Pockle discriminant check. 5 jaren geleden
portfwd.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
pproxy.c 96ec2c2500 Get rid of lots of implicit pointer types. 6 jaren geleden
primecandidate.c 115686527c PrimeCandidateSource: add one-shot mode. 5 jaren geleden
proxy.c 83b07a5c67 Fix downright weird line breaking. 4 jaren geleden
proxy.h 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
pscp.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 jaren geleden
psftp.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 jaren geleden
psftp.h d20d3b20fd Remove FLAG_VERBOSE. 5 jaren geleden
psftpcommon.c 70fd577e40 Fall back to not sorting large dirs in pscp -ls or psftp 'ls'. 5 jaren geleden
psocks.c ba599bf58c psocks: remove print_c_string(). 3 jaren geleden
psocks.h 1b40d9f3ba Auxiliary application: 'psocks', a simple SOCKS server. 5 jaren geleden
putty.h 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 jaren geleden
puttymem.h 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
puttyps.h e30e6b0f1d Delete the old 'macosx' directory completely. 9 jaren geleden
raw.c ad3c907a62 Remove NULL initialisers in BackendVtables. 4 jaren geleden
release.pl fd41f5dac0 release.pl: fix misspelled option in comment. 3 jaren geleden
resource.h 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
rlogin.c ad3c907a62 Remove NULL initialisers in BackendVtables. 4 jaren geleden
scpserver.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sesschan.c e9e6c03c6e Uppity: add stunt for unauthorised agent forwarding attempts. 4 jaren geleden
sessprep.c fdf7de4a1c sessprep: fix detection of unbracketed IPv6 literals. 6 jaren geleden
settings.c 11192e2e33 Backport of the pre-0.77 demo features to 0.76. 2 jaren geleden
sftp.c edadfa7093 Impose an upper bound on incoming SFTP packet length. 3 jaren geleden
sftp.h 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
sftpcommon.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
sftpserver.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sign.sh 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
smallprimes.c 9af72ca1e8 Move init_primes_array out into its own file. 5 jaren geleden
ssh.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 jaren geleden
ssh.h 97137f5cfd PuTTYgen: explicitly use 'Kbyte' in Argon2 naming. 3 jaren geleden
ssh1bpp.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
ssh1censor.c 751a989091 Add and use BinarySource_*INIT_PL. 6 jaren geleden
ssh1connection-client.c b4e1110892 Relax criteria for accepting agent-forwarding channel-opens. 4 jaren geleden
ssh1connection-server.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
ssh1connection.c b4e1110892 Relax criteria for accepting agent-forwarding channel-opens. 4 jaren geleden
ssh1connection.h b4e1110892 Relax criteria for accepting agent-forwarding channel-opens. 4 jaren geleden
ssh1login-server.c 2762a2025f Merge the 0.74 release branch back to master. 4 jaren geleden
ssh1login.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 jaren geleden
ssh2bpp-bare.c 1243be890a Support receiving RFC 8308 SSH2_MSG_EXT_INFO. 4 jaren geleden
ssh2bpp.c 1243be890a Support receiving RFC 8308 SSH2_MSG_EXT_INFO. 4 jaren geleden
ssh2censor.c 751a989091 Add and use BinarySource_*INIT_PL. 6 jaren geleden
ssh2connection-client.c b4e1110892 Relax criteria for accepting agent-forwarding channel-opens. 4 jaren geleden
ssh2connection-server.c 75fccc5d58 Pass SshServerConfig through to sesschan.c. 5 jaren geleden
ssh2connection.c a859955689 Fix premature exit if 'plink -shareexists' happens early. 4 jaren geleden
ssh2connection.h a859955689 Fix premature exit if 'plink -shareexists' happens early. 4 jaren geleden
ssh2kex-client.c 3461196197 Pass more information to interactive host key check. 4 jaren geleden
ssh2kex-server.c e105908661 Support rsa-sha2-* host keys in Uppity. 4 jaren geleden
ssh2transhk.c 67881a129c Add missing del234 in ssh_transient_hostkey_cache_add. 5 jaren geleden
ssh2transport.c 46b23c581a ssh2kex-client.c: get rid of s->fingerprint. 4 jaren geleden
ssh2transport.h 46b23c581a ssh2kex-client.c: get rid of s->fingerprint. 4 jaren geleden
ssh2userauth-server.c 2762a2025f Merge the 0.74 release branch back to master. 4 jaren geleden
ssh2userauth.c 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 jaren geleden
sshaes.c 8f3a0ea69f Fix Arm crypto build failure on clang post-12. 3 jaren geleden
ssharcf.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshargon2.c 52fa23c7fe Argon2 hprime: remove pointless bounds check. 3 jaren geleden
sshauxcrypt.c c61158aa34 Add an IV argument to aes_{en,de}crypt_pubkey. 4 jaren geleden
sshbcrypt.c 0d2d20aad0 Access all hashes and MACs through the standard API. 6 jaren geleden
sshblake2.c 5c8f3bf924 Add an implementation of BLAKE2b. 4 jaren geleden
sshblowf.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshblowf.h 229af2b5bf Turn SSH-2 ciphers into a classoid. 6 jaren geleden
sshbpp.h 1243be890a Support receiving RFC 8308 SSH2_MSG_EXT_INFO. 4 jaren geleden
sshccp.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshchan.h b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshcommon.c 04758cb3ec Allow pre-storing host key fingerprints of all types. 4 jaren geleden
sshcr.h 76430f8237 Assorted benign warning fixes. 5 jaren geleden
sshcrc.c 2e866e1fb7 Rewrite CRC implementation to be constant-time. 6 jaren geleden
sshcrcda.c 8d747d8029 Add lots of missing 'static' keywords. 5 jaren geleden
sshdes.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshdh.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
sshdss.c 2762a2025f Merge the 0.74 release branch back to master. 4 jaren geleden
sshdssg.c 18be6aec58 PrimeCandidateSource: remember prime factors of n-1. 5 jaren geleden
sshecc.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshecdsag.c 79d3c1783b New vtable API for keygen progress reporting. 5 jaren geleden
sshgss.h 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
sshgssc.c 1547c9c1ec Make dupcat() into a variadic macro. 5 jaren geleden
sshgssc.h d515e4f1a3 Support GSS key exchange, for Kerberos 5 only. 6 jaren geleden
sshhmac.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshkeygen.h 844e766b03 RSA generation: option to generate strong primes. 5 jaren geleden
sshmac.c 61dec9a07a sshmac.c: remove excessive return statement 6 jaren geleden
sshmd5.c 456120cfac Rewrite MD5 implementation in my modern style. 4 jaren geleden
sshnogss.c a1f3b7a358 Post-release destabilisation! Completely remove the struct type 13 jaren geleden
sshppl.h 1dc5659aa6 New option to reject 'trivial' success of userauth. 3 jaren geleden
sshprime.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshprng.c 7003b43963 Stop using mp_int in sshprng.c. 4 jaren geleden
sshpubk.c fd3f05d215 Fix tight loop on reading truncated key files. 3 jaren geleden
sshrand.c 3daa36293e Remove dependency of sshrand.c on SHA-512. 4 jaren geleden
sshrsa.c 995e2f7164 Add API for getting all of a key's fingerprints. 4 jaren geleden
sshrsag.c 844e766b03 RSA generation: option to generate strong primes. 5 jaren geleden
sshserver.c e9e6c03c6e Uppity: add stunt for unauthorised agent forwarding attempts. 4 jaren geleden
sshserver.h e9e6c03c6e Uppity: add stunt for unauthorised agent forwarding attempts. 4 jaren geleden
sshsh256.c 8f3a0ea69f Fix Arm crypto build failure on clang post-12. 3 jaren geleden
sshsh512.c 31cd5ee19b Fix buffer overflow in NEON SHA-384 output. 4 jaren geleden
sshsha.c 8f3a0ea69f Fix Arm crypto build failure on clang post-12. 3 jaren geleden
sshsha3.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshshare.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshsignals.h 72eca76d20 New system for handling SSH signals. 6 jaren geleden
sshttymodes.h dead35dd0f New system for handling SSH terminal modes. 6 jaren geleden
sshutils.c 132d48b8f3 Remove redundant #includes from sshutils.c. 4 jaren geleden
sshverstring.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden
sshzlib.c 736646b0c9 Fix a few warnings reported by Visual Studio. 3 jaren geleden
storage.h 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
stripctrl.c 0716880f68 stripctrl: clean up precarious handling of 'width'. 5 jaren geleden
supdup.c df2994a05a Make the backend_init error message dynamic. (NFC) 4 jaren geleden
telnet.c df2994a05a Make the backend_init error message dynamic. (NFC) 4 jaren geleden
terminal.c 746d87fc6f Fix palette escape sequences sometimes not working. 3 jaren geleden
terminal.h 334688db81 Apply UPDATE_DELAY in arrears, not in advance. 4 jaren geleden
testback.c 11192e2e33 Backport of the pre-0.77 demo features to 0.76. 2 jaren geleden
testcrypt.c 1da353e649 Introduce OpenSSH-compatible SHA256 key fingerprinting. 4 jaren geleden
testcrypt.h 1da353e649 Introduce OpenSSH-compatible SHA256 key fingerprinting. 4 jaren geleden
testsc.c 08d17140a0 Introduce PPK file format version 3. 4 jaren geleden
testzlib.c 2f832bb21f Ensure test programs have a dputs(). 4 jaren geleden
time.c 162398e55e Comment explaining location in top-level directory. 20 jaren geleden
timing.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
tree234.c cbfba7a0e9 Greatly improve printf format-string checking. 5 jaren geleden
tree234.h 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
utils.c 995e2f7164 Add API for getting all of a key's fingerprints. 4 jaren geleden
version.c 787181bb12 Add some missing #includes. 5 jaren geleden
version.h 650404f32c Server prep: pass "implementation name" to ssh_verstring_new. 6 jaren geleden
wcwidth.c 20d1c47484 wcwidth: update wide[] array to Unicode 13.0.0. 4 jaren geleden
wildcard.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
x11fwd.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 5 jaren geleden

README

This is the README for the source archive of PuTTY, a free Windows
and Unix Telnet and SSH client.

If you want to rebuild PuTTY from source, we provide a variety of
Makefiles and equivalents. (If you have fetched the source from
Git, you'll have to generate the Makefiles yourself -- see
below.)

There are various compile-time directives that you can use to
disable or modify certain features; it may be necessary to do this
in some environments. They are documented in `Recipe', and in
comments in many of the generated Makefiles.

For building on Windows:

- windows/Makefile.vc is for command-line builds on MS Visual C++
systems. Change into the `windows' subdirectory and type `nmake
-f Makefile.vc' to build all the PuTTY binaries.

As of 2017, we successfully compile PuTTY with both Visual Studio
7 (2003) and Visual Studio 14 (2015), so our guess is that it will
probably build with versions in between those as well.

(The binaries from Visual Studio 14 are only compatible with
Windows XP and up. Binaries from Visual Studio 7 ought to work
with anything from Windows 95 onward.)

- Inside the windows/MSVC subdirectory are MS Visual Studio project
files for doing GUI-based builds of the various PuTTY utilities.
These have been tested on Visual Studio 7 and 10.

You should be able to build each PuTTY utility by loading the
corresponding .dsp file in Visual Studio. For example,
MSVC/putty/putty.dsp builds PuTTY itself, MSVC/plink/plink.dsp
builds Plink, and so on.

- windows/Makefile.mgw is for MinGW / Cygwin installations. Type
`make -f Makefile.mgw' while in the `windows' subdirectory to
build all the PuTTY binaries.

MinGW and friends can lag behind other toolchains in their support
for the Windows API. Compile-time levers are provided to exclude
some features; the defaults are set appropriately for the
'mingw-w64' cross-compiler provided with Ubuntu 14.04. If you are
using an older toolchain, you may need to exclude more features;
alternatively, you may find that upgrading to a recent version of
the 'w32api' package helps.

- windows/Makefile.lcc is for lcc-win32. Type `make -f
Makefile.lcc' while in the `windows' subdirectory. (You will
probably need to specify COMPAT=-DNO_MULTIMON.)

- Inside the windows/DEVCPP subdirectory are Dev-C++ project
files for doing GUI-based builds of the various PuTTY utilities.

The PuTTY team actively use Makefile.vc (with VC7/10) and Makefile.mgw
(with mingw32), so we'll probably notice problems with those
toolchains fairly quickly. Please report any problems with the other
toolchains mentioned above.

For building on Unix:

- unix/configure is for Unix and GTK. If you don't have GTK, you
should still be able to build the command-line utilities (PSCP,
PSFTP, Plink, PuTTYgen) using this script. To use it, change into
the `unix' subdirectory, run `./configure' and then `make'. Or you
can do the same in the top-level directory (we provide a little
wrapper that invokes configure one level down), which is more like
a normal Unix source archive but doesn't do so well at keeping the
per-platform stuff in each platform's subdirectory; it's up to you.

- unix/Makefile.gtk and unix/Makefile.ux are for non-autoconfigured
builds. These makefiles expect you to change into the `unix'
subdirectory, then run `make -f Makefile.gtk' or `make -f
Makefile.ux' respectively. Makefile.gtk builds all the programs but
relies on Gtk, whereas Makefile.ux builds only the command-line
utilities and has no Gtk dependence.

- For the graphical utilities, any of Gtk+-1.2, Gtk+-2.0, and Gtk+-3.0
should be supported. If you have more than one installed, you can
manually specify which one you want by giving the option
'--with-gtk=N' to the configure script where N is 1, 2, or 3.
(The default is the newest available, of course.) In the absence
of any Gtk version, the configure script will automatically
construct a Makefile which builds only the command-line utilities;
you can manually create this condition by giving configure the
option '--without-gtk'.

- pterm would like to be setuid or setgid, as appropriate, to permit
it to write records of user logins to /var/run/utmp and
/var/log/wtmp. (Of course it will not use this privilege for
anything else, and in particular it will drop all privileges before
starting up complex subsystems like GTK.) By default the makefile
will not attempt to add privileges to the pterm executable at 'make
install' time, but you can ask it to do so by running configure
with the option '--enable-setuid=USER' or '--enable-setgid=GROUP'.

- The Unix Makefiles have an `install' target. Note that by default
it tries to install `man' pages; if you have fetched the source via
Git then you will need to have built these using Halibut
first - see below.

- It's also possible to build the Windows version of PuTTY to run
on Unix by using Winelib. To do this, change to the `windows'
directory and run `make -f Makefile.mgw CC=winegcc RC=wrc'.

All of the Makefiles are generated automatically from the file
`Recipe' by the Perl script `mkfiles.pl' (except for the Unix one,
which is generated by the `configure' script; mkfiles.pl only
generates the input to automake). Additions and corrections to Recipe,
mkfiles.pl and/or configure.ac are much more useful than additions and
corrections to the actual Makefiles, Makefile.am or Makefile.in.

The Unix `configure' script and its various requirements are generated
by the shell script `mkauto.sh', which requires GNU Autoconf, GNU
Automake, and Gtk; if you've got the source from Git rather
than using one of our source snapshots, you'll need to run this
yourself. The input file to Automake is generated by mkfiles.pl along
with all the rest of the makefiles, so you will need to run mkfiles.pl
and then mkauto.sh.

Documentation (in various formats including Windows Help and Unix
`man' pages) is built from the Halibut (`.but') files in the `doc'
subdirectory using `doc/Makefile'. If you aren't using one of our
source snapshots, you'll need to do this yourself. Halibut can be
found at .

The PuTTY home web site is

https://www.chiark.greenend.org.uk/~sgtatham/putty/

If you want to send bug reports or feature requests, please read the
Feedback section of the web site before doing so. Sending one-line
reports saying `it doesn't work' will waste your time as much as
ours.

See the file LICENCE for the licence conditions.