-b bind_address
--- openssh-4.0p1/ssh.1.orig 2005-03-09 01:00:06.000000000 +0100
+++ openssh-4.0p1/ssh.1 2005-03-10 15:10:40.000000000 +0100
-@@ -44,7 +44,7 @@
+@@ -43,7 +43,7 @@
+ .Nd OpenSSH SSH client (remote login program)
.Sh SYNOPSIS
.Nm ssh
- .Bk -words
--.Op Fl 1246AaCfgkMNnqsTtVvXxY
-+.Op Fl 1246AaBCfgkMNnqsTtVvXxY
+-.Op Fl 1246AaCfgKkMNnqsTtVvXxYy
++.Op Fl 1246AaBCfgKkMNnqsTtVvXxYy
.Op Fl b Ar bind_address
.Op Fl c Ar cipher_spec
- .Op Fl D Ar port
+ .Oo Fl D\ \&
@@ -425,6 +425,10 @@
- .It Fl b Ar bind_address
- Specify the interface to transmit from on machines with multiple
- interfaces or aliased addresses.
+ on the local machine as the source address
+ of the connection.
+ Only useful on systems with more than one address.
+.It Fl B
+Enables processing of SIGPIPE. Useful when using ssh output as input for
+another process, for example in a shell script. Be careful - it may break
usage(void)
{
fprintf(stderr,
--"usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n"
-+"usage: ssh [-1246AaBCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]\n"
- " [-D port] [-e escape_char] [-F configfile]\n"
+-"usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]\n"
++"usage: ssh [-1246AaBCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]\n"
+ " [-D [bind_address:]port] [-e escape_char] [-F configfile]\n"
" [-i identity_file] [-L [bind_address:]port:host:hostport]\n"
" [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]\n"
-@@ -240,7 +243,7 @@
+@@ -275,7 +275,7 @@
- again:
- while ((opt = getopt(ac, av,
-- "1246ab:c:e:fgi:kl:m:no:p:qstvxACD:F:I:L:MNO:PR:S:TVXY")) != -1) {
-+ "1246ab:c:e:fgi:kl:m:no:p:qstvxABCD:F:I:L:MNO:PR:S:TVXY")) != -1) {
+ again:
+ while ((opt = getopt(ac, av, "1246ab:c:e:fgi:kl:m:no:p:qstvx"
+- "ACD:F:I:KL:MNO:PR:S:TVw:W:XYy")) != -1) {
++ "ABCD:F:I:KL:MNO:PR:S:TVw:W:XYy")) != -1) {
switch (opt) {
case '1':
options.protocol = SSH_PROTO_1;