SSH client (mirror)

Simon Tatham 4e50c86040 Stop accidentally sending wchar_t as terminal input! 21 uur geleden
charset e6f9df9208 sbcsgen.pl: handle \r\n line endings. 2 jaren geleden
cmake 109c60b3bf Fix build failure on Debian bullseye from last commit. 2 maanden geleden
contrib 22f8122b13 Suppress syntax warnings on Python 3.12. 3 maanden geleden
crypto 23572715fd Add IANA kex name sntrup761x25519-sha512. 1 week geleden
doc 01c404c03d Document the two 'legacy' options. 3 dagen geleden
icons a101444d40 New script to draw the icons as SVG. 2 jaren geleden
keygen 1b851758bd Add some missing #includes. 2 jaren geleden
otherbackends c1d9da67a2 Pass the calling Socket to plug_log. 4 maanden geleden
proxy 807ed08da0 Centralise stub plug/socket functions. 4 maanden geleden
ssh c635c55a33 connect_to_host(): add missing sk_close on socket error. 1 maand geleden
stubs 807ed08da0 Centralise stub plug/socket functions. 4 maanden geleden
terminal 4e50c86040 Stop accidentally sending wchar_t as terminal input! 21 uur geleden
test f80955488a Switch CONF_remote_cmd to being STR_AMBI. 1 maand geleden
unicode 2c77437149 Update all Unicode tables to Unicode 16.0.0. 2 maanden geleden
unix 29c729a8d5 Unix Pageant: fix usage message about --encrypted. 4 dagen geleden
utils 19d479d684 Fix memory leaks in conf_try_set_*. 22 uur geleden
windows 41473d915b Fix a memory leak in Windows f_open. 22 uur geleden
.gitignore e273386272 Add .gitignore rules for in-tree builds. 3 jaren geleden
Buildscr f0f058ccb4 Merge 0.81 branch. 7 maanden geleden
Buildscr.cv c19e7215dd Replace mkfiles.pl with a CMake build system. 3 jaren geleden
CHECKLST.txt 6b10eaa245 Post-0.81 checklist updates. 7 maanden geleden
CMakeLists.txt 75b6e12f84 Add two new string types to the Conf system. 1 maand geleden
LATEST.VER a8601a72a9 Update version number for 0.81 release. 7 maanden geleden
LICENCE 8f34c84074 It's a new year. 9 maanden geleden
README b7174344e6 README: clarify that you need to run vcvars32 first. 4 maanden geleden
aqsync.c 0c44fa85df Build outgoing SSH agent requests in a strbuf. 6 jaren geleden
be_list.c 53f7da8ce7 Merge be_*.c into one ifdef-controlled module. 3 jaren geleden
callback.c 8d747d8029 Add lots of missing 'static' keywords. 4 jaren geleden
cgtest.c a2ff884512 Richer data type for interactive prompt results. 2 jaren geleden
clicons.c b4e1bca2c3 Change vtable defs to use C99 designated initialisers. 4 jaren geleden
cmdgen.c ecfa6b2734 Don't print long usage messages on a command-line error. 1 maand geleden
cmdline.c 52b2419028 Make the -legacy-foo options not SAVEABLE. 22 uur geleden
conf-enums.h b29758c1b6 Add ability to specify custom load and save separately. 1 jaar geleden
conf.h f80955488a Switch CONF_remote_cmd to being STR_AMBI. 1 maand geleden
config.c dc4ac7c4e1 conf_editbox_handler: support the new string types. 1 maand geleden
console.c 968ac6dbf0 Merge tag '0.80'. 11 maanden geleden
console.h d1dc1e927c Mention the host name in host-key prompts. 3 jaren geleden
defs.h 841bf321d4 New abstraction for command-line arguments. 1 maand geleden
dialog.c 1adcb200f7 dialog.c: give ctrl->fileselect.filter an opaque type. 1 jaar geleden
dialog.h 55d413a47a Add UTF-8 versions of dlg_editbox_{get,set}. 1 maand geleden
errsock.c 807ed08da0 Centralise stub plug/socket functions. 4 maanden geleden
import.c 20f818af12 Rename 'ret' variables passed from allocation to return. 2 jaren geleden
ldisc.c 1a7e4ec8d4 New centralised version of local line editing. 1 jaar geleden
licence.pl af9910962a Separate the functions of licence.pl. 3 jaren geleden
logging.c ab8ae9a385 Merge log file name tweaks from 'pre-0.79'. 1 jaar geleden
marshal.h 4f756d2a4d Rework Unicode conversion APIs to use a BinarySink. 1 maand geleden
misc.h c4c4d2c5cb dup_mb_to_wc, dup_wc_to_mb: remove the 'flags' parameter. 1 maand geleden
mksrcarc.sh a01deea1b1 Updates to mksrcarc.sh. 2 jaren geleden
mkunxarc.sh 31f496b59c Integrate the 'doc' subdir into the CMake system. 3 jaren geleden
mpint.h d5af33da53 Utility function mp_resize. 2 jaren geleden
network.h 807ed08da0 Centralise stub plug/socket functions. 4 maanden geleden
pageant.c f454c84a23 Rename SocketPeerInfo to SocketEndpointInfo. 4 maanden geleden
pageant.h b8374f1bdf winpgnt: menu options to delete/reencrypt everything. 3 jaren geleden
pinger.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
pscp.c 1b4a88f1fe pscp: Fix short help message. 4 dagen geleden
psftp.c 11d1f3776b Don't exit(1) after printing PGP key fingerprints. 1 maand geleden
psftp.h 841bf321d4 New abstraction for command-line arguments. 1 maand geleden
psftpcommon.c 83fa43497f Move the SSH implementation into its own subdirectory. 3 jaren geleden
psocks.c 841bf321d4 New abstraction for command-line arguments. 1 maand geleden
psocks.h 841bf321d4 New abstraction for command-line arguments. 1 maand geleden
putty.h 74150633f1 Add and use cmdline_arg_to_filename(). 1 maand geleden
puttymem.h 5935c68288 Update source file names in comments and docs. 2 jaren geleden
release.pl 49aa6c2b08 Remove FTP from release machinery. 2 jaren geleden
settings.c 8e6797ecfd Typo: remove redundant word in a comment. 1 maand geleden
sign.sh 79ff0d086a sign.sh: stop telling gpg to load the 'idea' extension. 2 maanden geleden
specials.h fd43ff6e27 Move SessionSpecial definitions into their own header. 1 jaar geleden
ssh.h f454c84a23 Rename SocketPeerInfo to SocketEndpointInfo. 4 maanden geleden
sshcr.h 6fcc7ed728 Formatting: fix a few mis-spaced assignments. 1 jaar geleden
sshkeygen.h 6520574e58 Side-channel-safe rewrite of the Miller-Rabin test. 3 jaren geleden
sshpubk.c 8005738eaf Fix infinite loop on a truncated RFC4176 public key file. 3 maanden geleden
sshrand.c 3daa36293e Remove dependency of sshrand.c on SHA-512. 4 jaren geleden
storage.h 4249b39ed3 New Seat method, seat_nonfatal(). 2 jaren geleden
timing.c 5d718ef64b Whitespace rationalisation of entire code base. 5 jaren geleden
tree234.h 4b8dc56284 Formatting: remove spurious spaces in 'type * var'. 2 jaren geleden
version.h c19e7215dd Replace mkfiles.pl with a CMake build system. 3 jaren geleden
x11disp.c 83fa43497f Move the SSH implementation into its own subdirectory. 3 jaren geleden

README

PuTTY source code README
========================

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

PuTTY is built using CMake . To compile in the
simplest way (on any of Linux, Windows or Mac), the general method is
to run these commands in the source directory:

cmake .
cmake --build .

These commands will expect to find a usable compile toolchain on your
path. So if you're building on Windows with MSVC, you'll need to make
sure that the MSVC compiler (cl.exe) is on your path, by running one
of the 'vcvars32.bat' setup scripts provided with the tools. Then the
cmake commands above should work.

To install in the simplest way on Linux or Mac:

cmake --build . --target install

On Unix, 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.) The cmake install step
doesn't attempt to add these privileges, so if you want user login
recording to work, you should manually ch{own,grp} and chmod the
pterm binary yourself after installation. If you don't do this,
pterm will still work, but not update the user login databases.

Documentation (in various formats including Windows Help and Unix
`man' pages) is built from the Halibut (`.but') files in the `doc'
subdirectory. 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.