Displaying 15 results from an estimated 15 matches for "put_host_port".
2006 Feb 21
0
[Bug 910] known_hosts port numbers
...sion of patch
980 (the latest by Darren Tucker). It appears to me to be the best. Darren,
thanks.
This patch is applied against 4.3p2. The differences when compared against
patch 980 are:
1) In sshconnect.c, where the Darren patch 980 did:
ip = xstrdup(ntop);
+ ip = put_host_port(ntop, options.port);
I didn't understand why the ip = xstrdup(ntop); wasn't removed, so this patch
does:
- ip = xstrdup(ntop);
+ ip = put_host_port(ntop, options.port);
2) Applies cleanly against openssh 4.3p2 (the addition of some code to misc.h
caused the pa...
2012 Nov 06
0
Semantics of known_hosts file
...is not a topic for this list, please point me to a more appropriate
list.
As far as I can gather from readin sshd(8) and the source code
(get_hostfile_hostname_ipaddr), at most two key lookups are performed:
(a) [Only for protocol version 1] One for the ip address of the remote
host, with put_host_port(ntop, port)
(b) One for the hostname.
(1) If it is an HostKeyAlias, just look for the hostname,
(2) else for put_host_port(hostname, port).
Is this an accurate description? In the bugzilla entry #910 [2], I found
that a fallback option (look for hostname only, if (b.2) fails) was
discus...
2008 Aug 27
1
5.1p1 doesn't work, 5.0p1 works fine
...bug1: kex: server->client 3des-cbc hmac-sha1 none
debug2: mac_setup: found hmac-sha1
debug1: kex: client->server 3des-cbc hmac-sha1 none
debug2: dh_gen_key: priv key bits set: 182/384
debug2: bits set: 516/1024
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug3: put_host_port: [10.1.1.1]:1024
debug3: put_host_port: [router]:1024
debug3: check_host_in_hostfile: filename /root/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 74
debug3: check_host_in_hostfile: filename /root/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 74
debug1: Host '[router...
2015 May 23
2
X11 forwarding not working.
Hi!
I'm having a difficult time getting X11 forwarding to work.
Since I've read the docs completely about this, this must be an SSH bug
which is likely because I'm using Gentoo as the SSH server.
When trying to forward X11 connections, I get
X11 connection rejected because of wrong authentication.
kwrite: cannot connect to X server XXXXXXXXX:10.0
Using command
ssh -Y -p 1111 -4
2016 Sep 21
3
Where to look next?
...ode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2
debug1: Remote protocol version 2.0, remote software version Welcome To Ceridian
debug1: no match: Welcome To Ceridian
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to IBM.SFG.SFTP.server:32 as 'SOMEUSER'
debug3: put_host_port: [IBM.SFG.SFTP.server]:32
debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"
debug3: record_hostkey: found key type RSA in file /root/.ssh/known_hosts:57
debug3: load_hostkeys: loaded 1 keys from [IBM.SFG.SFTP.server]:32
debug3: order_hostkeyalgs: prefer hostkeyalgs: ssh-rsa-...
2013 Dec 11
4
OpenSSH 6.3p1 Smartcard-Support
Hi there,
has anybody managed to get the eToken Pro Anywhere work with SSH? I'm using the latest SafeNetAuthentication drivers available for Ubuntu 64bit (8.3) and everything is working just fine except for ssh. I can use the eToken for logging in, openvpn, rdestkop, etc. but it seems ssh does not recognize the device properly. The command "ssh -I /usr/lib/libeToken.so.8 user at
2015 Mar 14
3
[Bug 2365] New: openssh client ignores -o Tunnel=ethernet option, creating an IP tunnel device instead of an ethernet tap device
...compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2p2 Ubuntu-6ubuntu0.3
debug1: Remote protocol version 2.0, remote software version
OpenSSH_5.9p1 Debian-5ubuntu1.3
debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1.3 pat OpenSSH_5*
debug2: fd 3 setting O_NONBLOCK
debug3: put_host_port: [<IP>]:38613
debug3: load_hostkeys: loading entries for host "[<IP>]:38613" from
file "/root/.ssh/known_hosts"
debug3: load_hostkeys: found key type ECDSA in file
/root/.ssh/known_hosts:24
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostke...
2016 Sep 21
2
Where to look next?
...ode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2
debug1: Remote protocol version 2.0, remote software version Welcome To Ceridian
debug1: no match: Welcome To Ceridian
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to some.server.we.have:32 as 'SOMEUSER'
debug3: put_host_port: [some.server.we.have]:32
debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-s...
2006 May 06
1
[Bug 910] known_hosts port numbers
...obsolete| |
------- Comment #40 from dtucker at zip.com.au 2006-05-06 14:31 -------
Created an attachment (id=1131)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=1131&action=view)
Update patch #1073.
Updated the patch to OpenBSD-current. Simplified put_host_port by
using asprintf again (we now have it in Portable's libopenbsd-compat
for platforms that don't have a native one).
BTW we're not using the method in patch #1052 ("ip:host"
unconditionally) because it will invalidate all existing known_hosts
files (see comment #15).
----...
2019 Mar 29
2
Call for testing: OpenSSH 8.0
...> debug1: match: OpenSSH_7.4 pat
> OpenSSH_7.0*,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7*
> compat 0x04000002
> debug2: fd 3 setting O_NONBLOCK
> debug1: Authenticating to our.server.in.the.cloud:4444 as 'ec2-user'
> debug3: put_host_port: [our.server.in.the.cloud]:4444
> debug3: hostkeys_foreach: reading file "/home/me/.ssh/known_hosts"
> debug3: send packet: type 20
> debug1: SSH2_MSG_KEXINIT sent
> debug3: receive packet: type 20
> debug1: SSH2_MSG_KEXINIT received
> debug2: local client KEXINIT propos...
2023 Dec 12
4
[Bug 3643] New: order_hostkeyalgs can't find host-key in KnownHostsCommand if it contains port
...Assignee: unassigned-bugs at mindrot.org
Reporter: glance+mindrot at ac2.se
I have a KnownHostsCommand which emits :
[targethost]:1234 ssh-rsa ...
ssh -vvv -o KnownHostsCommand=cmd -p 1234 targethost shows:
...
debug1: Authenticating to targethost:9022 as 'user'
debug3: put_host_port: [targethost]:9022
debug3: subprocess: KnownHostsCommand-ORDER command "cmd" running as
user (flags 0x1a)
debug3: subprocess: KnownHostsCommand-ORDER pid 12345
debug3: sigaction(Killed): Invalid argument
debug3: sigaction(Stopped (signal)): Invalid argument
debug3: sigaction(Unknown signa...
2014 Mar 27
1
AIX SFTP with chroot : conection closed without error message
...19-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.5p1 Debian-6
debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6
debug1: match: OpenSSH_6.6 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug3: put_host_port: [10.1.0.1]:2222
debug3: load_hostkeys: loading entries for host "[10.1.0.1]:2222" from
file "/home/tc/.ssh/known_hosts"
debug3: load_hostkeys: found key type ED25519 in file
/home/tc/.ssh/known_hosts:177
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer h...
2017 Feb 20
2
second ssh connection for the first ssh request
...sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug3: Wrote 24 bytes for a total of 1005
debug2: dh_gen_key: priv key bits set: 133/256
debug2: bits set: 998/2048
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: Wrote 272 bytes for a total of 1277
debug3: put_host_port: [172.18.137.11]:2025
debug3: put_host_port: [172.18.137.11]:2025
debug3: check_host_in_hostfile: host [172.18.137.11]:2025 filename
/home/ssoma/.ssh/known_hosts
debug3: check_host_in_hostfile: host [172.18.137.11]:2025 filename
/home/ssoma/.ssh/known_hosts
debug3: check_host_in_hostfile: match lin...
2017 Jan 20
2
^C doesnt work on ssh session
Thanks Darren, will check on your response.
I am attaching sshd, ssh logs with debug flags. Please see if it gives any
hint:
when I press ^C in ssh session, no log gets printed in both server/client
side.
Best Regards,
On Wed, Jan 18, 2017 at 3:09 AM, Darren Tucker <dtucker at zip.com.au> wrote:
> On Wed, Jan 18, 2017 at 5:10 AM, Sudarshan Soma <sudarshan12s at gmail.com>
2019 Mar 27
26
Call for testing: OpenSSH 8.0
Hi,
OpenSSH 8.0p1 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The OpenBSD version is available in CVS HEAD:
http://www.openbsd.org/anoncvs.html
Portable OpenSSH is also available via git using the
instructions at