SSH client (mirror)

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

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.