Displaying 20 results from an estimated 238 matches for "listenaddress".
2015 Jun 30
2
Call for testing: OpenSSH 6.9
...+fi
+
# We need to use the keys generated for the regression test because sshd -T
# will fail if we're not running with SUDO (no permissions for real keys) or
# if we are # running tests on a system that has never had sshd installed
@@ -26,6 +31,9 @@
cat > $OBJ/sshd_config.0 <<EOD
listenaddress 1.2.3.4:1234
listenaddress 1.2.3.4:5678
+EOD
+
+[ X${SKIP_IPV6} = Xyes ] || cat > $OBJ/sshd_config.0 <<EOD
listenaddress [::1]:1234
listenaddress [::1]:5678
EOD
@@ -37,6 +45,9 @@
port 1234
port 5678
listenaddress 1.2.3.4
+EOD
+
+[ X${SKIP_IPV6} = Xyes ] || cat > $OBJ/sshd_con...
2016 Oct 10
4
[Bug 2624] New: ListenAddress and Port directives only accept a single value
https://bugzilla.mindrot.org/show_bug.cgi?id=2624
Bug ID: 2624
Summary: ListenAddress and Port directives only accept a single
value
Product: Portable OpenSSH
Version: 7.3p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assigne...
2005 Dec 13
1
sshd -p option vs ListenAddress
If all ListenAddress lines in the sshd_config file specify
a port, then the -p option to sshd is silently ignored:
# cat test_sshd_config2
ListenAddress 0.0.0.0:22
ListenAddress 0.0.0.0:2222
# `pwd`/sshd -D -d -p 4411 -f test_sshd_config2
debug1: sshd version OpenSSH_4.2p1
debug1: private host key: #0 type 0 RSA1
de...
2000 Sep 14
5
ListenAddress option.
How do I compile OpenSSH so that I can use:
ListenAddress 0.0.0.0
in my sshd_config file ?
Currently I get:
[root at dark openssh-2.2.0p1]# sshd -d
debug: sshd version OpenSSH_2.2.0p1
debug: Seeding random number generator
debug: read DSA private key done
debug: Seeding random number generator
error: getnameinfo failed
fatal: Cannot bind any address.
if...
2012 Aug 27
0
[Bug 2037] New: sshd Causing DNS Queries on ListenAddress when binding to IPV4 and IPV6 addresses on AIX
https://bugzilla.mindrot.org/show_bug.cgi?id=2037
Priority: P5
Bug ID: 2037
Assignee: unassigned-bugs at mindrot.org
Summary: sshd Causing DNS Queries on ListenAddress when binding
to IPV4 and IPV6 addresses on AIX
Severity: normal
Classification: Unclassified
OS: AIX
Reporter: caleblloyd at gmail.com
Hardware: PPC
Status: NEW
Version: -current
Component: sshd...
2001 Jan 02
0
Why add ListenAddress to sshd_conf
...list, i amn't subscribed to the list]
(From ftp://ftp.plig.org/pub/OpenBSD/OpenSSH/portable/openssh-2.2.0p1-vs-openbsd.diff.gz)
--- ssh-openbsd-2000090200/sshd_config Tue Aug 8 16:55:05 2000
+++ openssh-2.2.0p1/sshd_config Wed Aug 30 09:40:09 2000
@@ -2,7 +2,7 @@
Port 22
#Protocol 2,1
-#ListenAddress 0.0.0.0
+ListenAddress 0.0.0.0
#ListenAddress ::
HostKey /etc/ssh_host_key
ServerKeyBits 768
----
Why? If there's no ListenAddress ssh listens on all addresses:
---
ListenAddress
Specifies what local address sshd should listen on. The default
is to listen to...
2014 Sep 17
3
[Bug 2279] New: ListenAddress option does not allow IPv6 link-local addresses
https://bugzilla.mindrot.org/show_bug.cgi?id=2279
Bug ID: 2279
Summary: ListenAddress option does not allow IPv6 link-local
addresses
Product: Portable OpenSSH
Version: 6.6p1
Hardware: Other
OS: Other
Status: NEW
Severity: normal
Priority: P5
Component: sshd
Assigne...
2015 Apr 24
0
[Bug 86] Port should not depend on ListenAddress
...Severity|major |trivial
CC| |dtucker at zip.com.au
--- Comment #1 from Darren Tucker <dtucker at zip.com.au> ---
Looking at this since I have been poking around in this code recently.
Isn't this the other way around? ie ListenAddress depends on Port?
What's the desired behaviour? Use whatever Port was last specified for
each ListenAddress where the port is not specified? ie
Port 123
ListenAddress 192.168.0.1
Port 345
ListenAddress 192.168.0.2
ends up listening on 192.168.0.1:123 and 192.168.0.2:345 ?
--
You are recei...
2015 Jun 30
2
Call for testing: OpenSSH 6.9
On Tue, 30 Jun 2015, Damien Miller wrote:
| I think we should just disable the test if the host doesn't support IPv6.
|
| diff --git a/regress/cfgparse.sh b/regress/cfgparse.sh
| index 7f377d8..e19b4d0 100644
| --- a/regress/cfgparse.sh
| +++ b/regress/cfgparse.sh
| @@ -3,6 +3,12 @@
|
| tid="config parse"
|
| +# Possessing struct addrinfo is a reasonable proxy for IPv6
2015 Apr 24
0
[Bug 86] Port should not depend on ListenAddress
...|Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
IMO the behaviour I'd expect from:
Port 123
ListenAddress 192.168.0.1
Port 345
ListenAddress 192.168.0.2
is listening on
192.168.0.1:123
192.168.0.1:345
192.168.0.2:123
192.168.0.2:345
regardless of the ordering of directives.
We could do this by recording the listen addresses with port=0 and then
expanding it with the full set of recorded ports later...
2012 Jan 24
3
sshd: listen on ip1:port1 and ip2:port2
Hello,
with CentOS 6.2 - is it possible to configure OpenSSH
daemon to listen on different IPs _and_ ports?
I have received a 2nd IP address for my server
and have successfully configured by adding the new
"/etc/sysconfig/network-scripts/ifcfg-eth0:1" file.
I'd like SSHd to keep listening at the_old_ip:22
but also at the_new_ip:443.
The 443 on the_old_ip is already taken by
2009 Jan 19
1
Re: creating a custom type to replace a line in a file
On Sun, Jan 18, 2009 at 7:57 PM, chakkerz <chakkerz@gmail.com> wrote:
>
> Awesome
>
> Thanks for the Template idea Teyo, that looks exactly like what i
> want.
>
> So i created my templte sshd_config.erb
>
> Port 22
> Protocol 2
> ListenAddress <%= listenaddress %>
> #ListenAddress ::
>
> SyslogFacility AUTHPRIV
> PermitRootLogin no
> #StrictModes yes
> PasswordAuthentication no
> ChallengeResponseAuthentication no
> GSSAPIAuthentication yes
> GSSAPICleanupCredentials yes
> UsePAM yes
> X11Forwarding...
2008 Oct 04
2
AW: Re: ssh error in /var/log/secure
>Akemi Yagi wrote:
>>
>> This has to do with ipv6.
>Thanks!
>Got it fixed.
Hi,
Maybe (?) it would be helpful for us all if
You would tell us how the Problem was
Fixed instead of telling us "Thanks, got it
fixed" ;-)
P.S. Sorry for the horrible Format of this Mail. But i'm using the lausy M$-Standard-Client on my Mobile-Phone...
Regards
Marc Rebischke
2016 Feb 04
3
Unix socket support for sshd
Greetings everyone!
I would like to know if adding support for Unix socket to sshd would be a
feature that would be consider to be added upstream? (ListenAddress).
One of the main reason for this question to you all is that tor now has Unix
socket support for hidden services that is traffic of a hidden service can be
forwarded to a Unix socket (see HiddenServicePort in tor.1). The rationale
behind that is basically so someone can set up a server with no in...
2015 Apr 24
0
[Bug 86] Port should not depend on ListenAddress
https://bugzilla.mindrot.org/show_bug.cgi?id=86
--- Comment #3 from Darren Tucker <dtucker at zip.com.au> ---
(In reply to Damien Miller from comment #2)
> Darren just pointed out that we do this wrong wrt ListenAddress too
I think you meant AddressFamily.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching someone on the CC list of the bug.
2015 Apr 27
0
[Bug 86] Port should not depend on ListenAddress
...tachment #2609| |ok?(djm at mindrot.org)
Flags| |
--- Comment #5 from Darren Tucker <dtucker at zip.com.au> ---
Created attachment 2609
--> https://bugzilla.mindrot.org/attachment.cgi?id=2609&action=edit
sshd: Allow ListenAddress, Port, AddressFamily in any order
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
2015 Nov 01
0
[Bug 86] Port should not depend on ListenAddress
https://bugzilla.mindrot.org/show_bug.cgi?id=86
--- Comment #8 from Christoph Anton Mitterer <calestyo at scientia.net> ---
taking the 2nd paragraph back... I forgot that one can give the port to
ListenAddress ;-)
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
2017 Jan 07
1
sshd problem on reboot
...dden logs and got:
error: bind to port MYPORT in LOCALIP failed: cannot assign requested
address.
I've restarted sshd and problem "was solved".
Now I can't try to replicate this error because I can't reboot the server.
My addressing config is:
Port PORT
AddressFamily inet
ListenAddress LOCALIP
ListenAddress 127.0.0.1
#ListenAddress ::
What can cause this problem?
Thanks in advance.
2017 May 12
0
sshd and problems with network vs NetworkManager
...ar/run/sshd.pid
10c11
< ExecStart=/usr/sbin/sshd -D $OPTIONS
---
> ExecStart=/usr/sbin/sshd $OPTIONS
15d15
< RestartPreventExitStatus=255
It changed the Type and it was also added the RestartPreventExitStatus
directove.
The effects I'm noticing are:
1) If using NetworkManager and no ListenAddress entry in sshd_config
--> all ok (listen on ipv4 and ipv6)
2) If using NetworkManager and I put ListenAddress=ip in sshd_config
--> all ok
3) If NetworkManager disabled and using only network service and no
ListenAddress entry in sshd_config
--> ok (listen on ipv4 and ipv6)
4) If Network...
2001 Jul 04
2
IPv6 and sshd
...Ipv6 interface.
Interface/Ipv6 Address: ipv6.open-systems.org
[kevin at satan kevin/xp-0.0.15] 536 $ping6 ipv6.open-systems.org
PING6(56=40+8+8 bytes) 3ffe:1200:3028:ff01::cab -->
3ffe:1200:3028:ff01::caa
16 bytes from 3ffe:1200:3028:ff01::caa, icmp_seq=0 hlim=64 time=73.96
ms
sshd_config:
ListenAddress [3ffe:1200:3028:ff01::caa]
ListenAddress [3ffe:1200:3028:8655::1]
[Note: I also tried using the address's without the brackets with no
results.]
sshd version : sshd version OpenSSH_2.9
ssh client connection details:
[kevin at athena kevin]$ ssh -v -6 ipv6.open-systems.org -l kevin
OpenSSH_2...