configs  Check-in [b3e3f764fa]

Overview
Comment:ssh_config: Default to IdentitiesOnly yes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b3e3f764fa7432e85c3d28561f6e4690c388646b3d3998b1f6cebc76d8c57c80
User & Date: js on 2022-12-04 23:47:44
Other Links: manifest | tags
Context
2022-12-04
23:57
sway: Add screenshot shortcut check-in: ea6da684e3 user: js tags: trunk
23:47
ssh_config: Default to IdentitiesOnly yes check-in: b3e3f764fa user: js tags: trunk
23:46
zshrc: Add cross djgpp check-in: 7957e64418 user: js tags: trunk
Changes

Modified fish/functions/gsftp.fish from [b1fcb69640] to [50fccb66d9].

1
2
3
4
function gsftp --wraps sftp
    set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
    sftp $argv
end


|

1
2
3
4
function gsftp --wraps sftp
    set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
    sftp -o IdentitiesOnly=no $argv
end

Modified fish/functions/gssh.fish from [b6730a1130] to [d2da5e7e39].

1
2
3
4
function gssh --wraps ssh
    set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
    ssh $argv
end


|

1
2
3
4
function gssh --wraps ssh
    set -lx SSH_AUTH_SOCK $GNUPGHOME/S.gpg-agent.ssh
    ssh -o IdentitiesOnly=no $argv
end

Modified ssh_config from [7faf1722e7] to [e0ed1f1228].

12
13
14
15
16
17
18

19
20
21
Host pkgs.fedoraproject.org
	HostKeyAlgorithms rsa-sha2-512

Host wip.pkgsrc.org
	Ciphers aes256-gcm@openssh.com

Host *

	Ciphers chacha20-poly1305@openssh.com
	KexAlgorithms curve25519-sha256@libssh.org
	HostKeyAlgorithms ssh-ed25519







>



12
13
14
15
16
17
18
19
20
21
22
Host pkgs.fedoraproject.org
	HostKeyAlgorithms rsa-sha2-512

Host wip.pkgsrc.org
	Ciphers aes256-gcm@openssh.com

Host *
	IdentitiesOnly yes
	Ciphers chacha20-poly1305@openssh.com
	KexAlgorithms curve25519-sha256@libssh.org
	HostKeyAlgorithms ssh-ed25519

Modified zshrc from [b674df0426] to [c82f434faf].

372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
	local sock
	if [ -d "$XDG_RUNTIME_DIR/gnupg" ]; then
		sock=$(find "$XDG_RUNTIME_DIR/gnupg" -name S.gpg-agent.ssh |
		       head -1)
	fi
	[ -n "$sock" ] || sock="$GNUPGHOME/S.gpg-agent.ssh"

	alias gssh="SSH_AUTH_SOCK=$sock ssh"
	alias gssh-add="SSH_AUTH_SOCK=$sock ssh-add"
	alias gsftp="SSH_AUTH_SOCK=$sock sftp"
fi

if __has_command cryptopassphrase; then
	pwnk() {
		local clipboard
		if __has_command wl-copy; then
			clipboard=wl-copy







|

|







372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
	local sock
	if [ -d "$XDG_RUNTIME_DIR/gnupg" ]; then
		sock=$(find "$XDG_RUNTIME_DIR/gnupg" -name S.gpg-agent.ssh |
		       head -1)
	fi
	[ -n "$sock" ] || sock="$GNUPGHOME/S.gpg-agent.ssh"

	alias gssh="SSH_AUTH_SOCK=$sock ssh -o IdentitiesOnly=no"
	alias gssh-add="SSH_AUTH_SOCK=$sock ssh-add"
	alias gsftp="SSH_AUTH_SOCK=$sock sftp -o IdentitiesOnly=no"
fi

if __has_command cryptopassphrase; then
	pwnk() {
		local clipboard
		if __has_command wl-copy; then
			clipboard=wl-copy