summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2018-01-28Initialize variables to avoid compiler warningsKinichiro Inoguchi
ok jsing@
2018-01-25certificate options are case-sensitive; fix case on one that had it wrong.Damien Miller
move a badly-place sentence to a less bad place
2018-01-24POSIX requires that awk support \v and \a escapes. I used '\007'Todd C. Miller
for BEL since that is what lex.c uses, though we could safely use '\a' there instead. OK martijn@
2018-01-24Use closefrom(3) instead of manually closing all file descriptorsTheo Buehler
between 3 and 19. ok martijn, millert, jca
2018-01-23Fix a logic bug in sshd_exchange_identification which prevented clientsStefan Sperling
using major protocol version 2 from connecting to the server. ok millert@
2018-01-23Add missing braces; fixes 'write: Socket is not connected' error in ssh.Stefan Sperling
ok deraadt@
2018-01-23Drop compatibility hacks for some ancient SSH implementations, includingDamien Miller
ssh.com <=2.* and OpenSSH <= 3.*. These versions were all released in or before 2001 and predate the final SSH RFCs. The hacks in question aren't necessary for RFC- compliant SSH implementations. ok markus@
2018-01-23try harder to preserve errno during ssh_connect_direct() to make theDamien Miller
final error message possibly accurate; bz#2814, ok dtucker@
2018-01-23unbreak support for clients that advertise a protocol versionDamien Miller
of "1.99" (indicating both v2 and v1 support). Busted by me during SSHv1 purge in r1.358; bz2810, ok dtucker
2018-01-23don't attempt to force hostnames that are addresses to lowercase, butDamien Miller
instead canonicalise them through getnameinfo/getaddrinfo to remove ambiguities (e.g. ::0001 => ::1) before they are matched against known_hosts; bz#2763, ok dtucker@
2018-01-23avoid modifying pw->pw_passwd; let endpwent() clean up for us, butDamien Miller
keep a scrubbed copy; bz2777, ok dtucker@
2018-01-21add new '-c' option which runs a command instead of an interactive shellJasper Lievisse Adriaanse
from Paul de Weerd ok ian@ job@; manpage bits are ok jmc@
2018-01-18Discard all but the last line when reading from a #() command - theNicholas Marriott
callback is just going to be fired again straight away to go through all the lines, it is better just to use the last one straight away.
2018-01-18Remove unused hooks_run function, from Thomas Adam.Nicholas Marriott
2018-01-16g/c unused defines that were only used by nacl's SHA-512 implementationChristian Weisgerber
ok tedu@
2018-01-16Fix drawing of ACS characters (they need to go character-at-a-time),Nicholas Marriott
accidentally broken in last commit.
2018-01-16Add -I to pipe-pane to connect pane stdin as well as stdout, suggestedNicholas Marriott
by Kristof Kovacs in GitHub issue 1186.
2018-01-15Revert my changes in r1.60 back to nicm@'s latest for now.Bryan Steele
Fixes "file *|grep" breakage reported by espie@ ok nicm, deraadt
2018-01-15Another redundant check, GitHub issue 1219.Nicholas Marriott
2018-01-15Some unused code, GitHub issue 1219.Nicholas Marriott
2018-01-15Add s_server and s_client -tlsextdebug messagesKinichiro Inoguchi
ok sthen@ jsing@
2018-01-13Adjust comment to reflect '%F' addition.Theo Buehler
2018-01-13Allow printf '%F' format specifier.Theo Buehler
ok millert
2018-01-13Remove the implicit display feature of .Lk because it was inconsistentIngo Schwarze
across output devices, counter-intuitive, and resulted in ugly output for many real-world manual pages. Always format even long links in-line. I already committed a similar change to groff. OK jmc@, bentley@, and the original author of the feature, Werner Lemberg <wl@gnu.org>.
2018-01-13clarify authorship; prodded by and ok markus@Christian Weisgerber
2018-01-12Do not collect top-bit-set characters in case they need to be replaced.Nicholas Marriott
2018-01-12Simplify character replacement on non-UTF-8 terminals and make a commonNicholas Marriott
function.
2018-01-12Simplify UTF-8 states down into one state.Nicholas Marriott
2018-01-12Improve error message if creating socket parent directory fails, fromNicholas Marriott
Thomas Adam for GitHub issue 1215.
2018-01-12Improve logging for layout cells.Nicholas Marriott
2018-01-12Align cases in conversion switch vertically. Normalize logic inside casesTheo Buehler
and drop an unnecessary test for intdata in '%c'. reads ok to halex, ok millert
2018-01-12Adjust references for sysctl(3) to sysctl(2)Theo de Raadt
2018-01-11Remove arbitary length limits for -s, -b and -w. Based on a diff from kshe.Theo Buehler
schwarze suggested using asprintf, which led to a substantial cleanup. ok schwarze, help & ok millert
2018-01-10Simplify bounds checking of client numbers of channels and rate. FromAlexandre Ratchov
Michael W. Bombardieri, thanks.
2018-01-09Extract compile_mode command status with WEXITSTATUS.cheloha
Also tell the user if the parent shell spawned by popen(3) was killed by a signal. Discussed with jca@. ok millert@ jca@ deraadt@
2018-01-08group shared source files (e.g. SRCS_KEX) and allow compilation w/o OPENSSLMarkus Friedl
ok djm@
2018-01-08move subprocess() so scp/sftp do not need uidswap.o; ok djm@Markus Friedl
2018-01-08switch ssh-pkcs11-helper to new API; ok djm@Markus Friedl
2018-01-08split client/server kex; only ssh-keygen needs uuencode.o;Markus Friedl
only scp/sftp use progressmeter.o; ok djm@
2018-01-08only ssh-keygen needs uuencode.o; only scp/sftp use progressmeter.oMarkus Friedl
2018-01-08uuencode.h is not usedMarkus Friedl
2018-01-07Remove unused extern variable in openssl(1) s_timeKinichiro Inoguchi
This extern variable appears not to be used. And it is overridden by local variable in doConnection(). This causes MSVC warning C4459 "declaration of 'verify_error' hides global declaration". OK millert@
2018-01-05No need for <sys/socketvar.h>Martin Pieuchot
2018-01-05Remove useless <sys/socketvar.h> includes.Martin Pieuchot
ok kettenis@, visa@, claudio@, deraadt@
2018-01-04glaring KNF violationTheo de Raadt
2018-01-02update currency exchange rates;Jason McIntyre
2018-01-02When invoked with no file arguments, display usage and fail instead ofPhilip Guenther
silently doing nothing. suggested by Klemens Nanni (kl3 (at) posteo.org), from FreeBSD r92772 ok millert@
2018-01-01Prefer PWD for current directory if present in client, from Wei Zhao inNicholas Marriott
GitHub issue 1183.
2018-01-01Add C-g at command prompt for emacs people, GitHub issue 1213.Nicholas Marriott
2017-12-31Initialize the size of new panes created by the even-* layout correctly;Nicholas Marriott
reported by Andreas Kahari and Anton Lindqvist.