SSH client (mirror)

Simon Tatham 4e50c86040 Stop accidentally sending wchar_t as terminal input! 21 ساعت پیش
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! 21 ساعت پیش
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_*. 22 ساعت پیش
windows 41473d915b Fix a memory leak in Windows f_open. 22 ساعت پیش
.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. 22 ساعت پیش
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.