summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2022-10-20add zap-to-char and zap-up-to-char; bind zap-to-char to M-z.Omar Polo
ok florian@
2022-10-17Preserve marked pane when renumbering windows.Nicholas Marriott
2022-10-15replace ewprintf("") calls with eerase(): no functional difference.Omar Polo
ok florian@
2022-10-15typo in comment: Funtion -> FunctionOmar Polo
2022-10-14Document missing cases of variable substitutionKlemens Nanni
Feedback OK op
2022-10-14remove the unsightly plural from Nd:Jason McIntyre
audio files manipulation tool -> audio file manipulation tool
2022-10-13controm terminql -> controlling terminal;Jason McIntyre
2022-10-13use correct type with sizeofJonathan Gray
ok djm@
2022-10-11Vox populi says "cdio:" prefix is useful so switch back to usingKenneth R Westerback
warnx(), but with required "\n" manually output to stderr before calling warnx(). Requested by tb@ and OP Michael Siegel.
2022-10-11fix unintended sizeof pointer introduced in 1.10Jonathan Gray
ok cheloha@ miod@ matthieu@ martijn@
2022-10-10Use warnx(), not warn(), when 'errno' is not relevant.Kenneth R Westerback
2022-10-10Don't leak 'sec' in error path.Kenneth R Westerback
2022-10-07Fix some error output, replacing some silly 'warnx("\n...")' withKenneth R Westerback
fprintf(stderr, "\n..."). Reported by Michael Siegel via bugs@. ok tb@ (with some further suggestions)
2022-10-07ssh-agent.1:Jason McIntyre
- use Nm not Xr for self-ref - while here, wrap a long line ssh-agent.c: - add -O to usage()
2022-10-07document "-O no-restrict-websafe"; spotted by Ross L RichardsonDamien Miller
2022-10-06honour user's umask if it is more restrictive then the ssh defaultDamien Miller
(022); based on patch from Alex Henrie, ok dtucker@ deraadt@
2022-10-04fix an obvious thinko without serious consequences in the display of eMarc Espie
for rsa and friends. okay tb@
2022-10-04Sort commands in help output, add help to manualKlemens Nanni
OK millert Feedback OK jmc
2022-10-04Only print prompt in interactive usageKlemens Nanni
Scripting tftp(1) makes it non-interactive, yet the prompt is still printed and may mess up the shell's PS1: $ echo put nonexistent | tftp localhost tftp> tftp: open: nonexistent: No such file or directory tftp> $ The fix seems easy and works as expected for multiple commands as well: $ echo 'verbose\nput nonexistent' | ./obj/tftp localhost Verbose mode on. tftp: open: nonexistent: No such file or directory $ OK millert
2022-10-02Remove unused DEBUG_LINE define.Martin Pieuchot
2022-09-28Add scroll-top and scroll-bottom commands to scroll so cursor is at topNicholas Marriott
or bottom. From Anindya Mukherjee, GitHub issue 3334.
2022-09-28Add a -T flag to capture-pane to stop at the last used cell instead ofNicholas Marriott
the full width. Restore the previous behaviour by making it default to off unless -J is used (the only time it matters). Fixes mosh unit tests; GitHub issue 3339.
2022-09-26openssh-9.1Damien Miller
2022-09-21Fix typo. From AlexanderStohr via github PR#343.Darren Tucker
2022-09-21Update awk to Sep 12, 2022 version.Todd C. Miller
Fix undefined behavior and a use-after-free in cat().
2022-09-19add RequiredRSASize to the list of keywords accepted by -o;Damien Miller
spotted by jmc@
2022-09-19Remove now-unused connect_wait() function.Todd C. Miller
2022-09-19use users-groups-by-id@openssh.com sftp-server extension (whenDamien Miller
available) to fill in user/group names for directory listings. Implement a client-side cache of see uid/gid=>user/group names. ok markus@
2022-09-19sftp client library support for users-groups-by-id@openssh.com;Damien Miller
ok markus@
2022-09-19extend sftp-common.c:extend ls_file() to support supplied user/groupDamien Miller
names; ok markus@
2022-09-19sftp-server(8): add a "users-groups-by-id@openssh.com" extensionDamien Miller
request that allows the client to obtain user/group names that correspond to a set of uids/gids. Will be used to make directory listings more useful and consistent in sftp(1). ok markus@
2022-09-19better debugging for connect_next()Damien Miller
2022-09-17Add RequiredRSASize for sshd(8); RSA keys that fall beneath this limitDamien Miller
will be ignored for user and host-based authentication. Feedback deraadt@ ok markus@
2022-09-17add a RequiredRSASize for checking RSA key length in ssh(1).Damien Miller
User authentication keys that fall beneath this limit will be ignored. If a host presents a host key beneath this limit then the connection will be terminated (unfortunately there are no fallbacks in the protocol for host authentication). feedback deraadt, Dmitry Belyavskiy; ok markus@
2022-09-17Add a sshkey_check_rsa_length() call for checking the length of anDamien Miller
RSA key; ok markus@
2022-09-17actually hook up restrict_websafe; the command-line flag wasDamien Miller
never actually used. Spotted by Matthew Garrett
2022-09-16correct error valueDamien Miller
2022-09-16sftp: Be a bit more clever about completionsDamien Miller
There are commands (e.g. "get" or "put") that accept two arguments, a local path and a remote path. However, the way current completion is written doesn't take this distinction into account and always completes remote or local paths. By expanding CMD struct and "cmds" array this distinction can be reflected and with small adjustment to completer code the correct path can be completed. By Michal Privoznik, ok dtucker@
2022-09-16sftp: Don't attempt to complete arguments for non-existent commandsDamien Miller
If user entered a non-existent command (e.g. because they made a typo) there is no point in trying to complete its arguments. Skip calling complete_match() if that's the case. From Michal Privoznik
2022-09-15Use non-blocking connect() with ppoll() and timeout instead of alarm().Todd C. Miller
For hosts with multiple IP addrs this makes it possible to fall over from an unresponsive IP to another. This also replaces the other connect(2) + connect_wait() calls with timed_connect() so the -w option now works for more that just http. OK sthen@ deraadt@
2022-09-14remove an extraneous empty lineTheo Buehler
2022-09-14clarify behaviour when the second address in a range is smaller thanJason McIntyre
or equal to the first; diff from luka krmpotic ok kn
2022-09-14sk_enroll: never drop SSH_SK_USER_VERIFICATION_REQD flag from responseDamien Miller
Now that all FIDO signing calls attempt first without PIN and then fall back to trying PIN only if that attempt fails, we can remove the hack^wtrick that removed the UV flag from the keys returned during enroll. By Corinna Vinschen
2022-09-14a little extra debuggingDamien Miller
2022-09-14ssh-agent: attempt FIDO key signing without PIN and use the errorDamien Miller
to determine whether a PIN is required and prompt only if necessary. from Corinna Vinschen
2022-09-12Don't use options from pane if pane is NULL.Nicholas Marriott
2022-09-11Adjust for opaque structs in ts.hTheo Buehler
ok jsing
2022-09-11Adjust for opaque structs in pkcs12.hTheo Buehler
ok jsing
2022-09-11Replace archaic \*(Lt and \*(Gt by plain < and >, respectively,Ingo Schwarze
because these inspire devotion to cargo cult in developers. Cleanup suggested by kn@.
2022-09-11Finally expand and delete the macro SCALE_VS_INIT().Ingo Schwarze
It's nothing but obfuscation and only used at three places in a single file. Removing it also makes the code three lines shorter. The ugliness was already pointed out six years ago by mmcc@.