File: ssh

package info (click to toggle)
ipv6pref 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, stretch, trixie
  • size: 128 kB
  • ctags: 11
  • sloc: ansic: 58; sh: 48; makefile: 17
file content (12 lines) | stat: -rwxr-xr-x 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# Wrapper script to advice ssh to use the public, non-temporary IPv6 addresses
# (without privacy extensions) for outgoing connections
#
# It uses the ipv6pref library and its wrapper scripts.
#
# By Stefan Tomanek <stefan.tomanek@wertarbyte.de>
# https://github.com/wertarbyte/ipv6pref/

# use the public (non-changing) address for SSH
exec v6pub /usr/bin/ssh "$@"