search for: needpriv

Displaying 20 results from an estimated 162 matches for "needpriv".

2018 Feb 23
6
RFC 8305 Happy Eyeballs in OpenSSH
...drlen) == 0) { - /* Succeeded already? */ - unset_nonblock(sockfd); +/* + * Return 0 if the addrinfo was not tried. Return -1 if using it + * failed. Return 1 if it was used. + */ +static int +ssh_connect_happy_eyeballs_initiate(const char *host, struct addrinfo *ai, + int *timeout_ms, int needpriv, + struct timeval *initiate, + int *nfds, fd_set *fds, + struct addrinfo *fd_ai[]) +{ + int oerrno, sock; + char ntop[NI_MAXHOST], strport[NI_MAXSERV]; + + memset(ntop, 0, sizeof(ntop)); + memset(strport, 0, sizeof(strport)); + /* If *nfds != 0 then *initiate is initialised. */...
2017 Jan 12
3
proposed change to ssh_connect_direct()
On Sat, Jan 7, 2017 at 2:30 PM, Peter Moody <mindrot at hda3.com> wrote: > so I spent a bit of time looking at this and it seems like the only > way to go, at least if I want to keep it in ssh_connect_direct(), is > to use pthreads. further, it seems like getting that accepted is > something of a long shot: Sorry, pthreads is a non-starter. I would have thought that using
2010 Nov 04
0
[Bug 1296] VerifyHostKeyDNS default domain
...$ cat /etc/resolv.conf domain corp.example.com search corp.example.com nameserver 10.13.0.133 options edns0 karl at slap1:~/openssh-5.6p1$ /nail/home/karl/ssh/bin/ssh -vvv -o VerifyHostKeyDNS=yes dsectest.corp.example.com OpenSSH_5.6p1, OpenSSL 0.9.8k 25 Mar 2009 <snip> debug2: ssh_connect: needpriv 0 debug1: Connecting to dsectest.corp.example.com [10.13.0.133] port 22. debug1: Connection established. <snip> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.6p1 Debian-0ubuntu1 debug1: match: OpenSSH_5.6p1 Debian-0ubuntu1 pat OpenSSH* debug1: Enabling compatibility m...
2007 Jan 16
0
patch to enable ssh use sock fd 3,4
...those 2 fd. diff -rNu openssh-4.5p1/sshconnect.c openssh-4.5p1-ssh-socket/sshconnect.c --- openssh-4.5p1/sshconnect.c 2006-10-23 20:02:24.000000000 +0300 +++ openssh-4.5p1-ssh-socket/sshconnect.c 2007-01-16 14:06:31.000000000 +0200 @@ -310,8 +310,14 @@ debug2("ssh_connect: needpriv %d", needpriv); /* If a proxy command is given, connect using it. */ - if (proxy_command != NULL) - return ssh_proxy_connect(host, port, proxy_command); + if (proxy_command != NULL) { + if(strcmp(proxy_command,":socket:")) + return ssh...
2009 Apr 09
4
if ssh port is not port 22
...use port 22. ssh -p 422 localhost does work however becasue Port is set to 422 in sshd_config geronimo:/data/openssh-5.2p1 # ssh -vvv localhost OpenSSH_5.2p1, OpenSSL 0.9.8e 23 Feb 2007 debug1: Reading configuration data /etc//ssh_config debug3: RNG is ready, skipping seeding debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [127.0.0.1] port 22. debug1: connect to address 127.0.0.1 port 22: Connection refused debug1: Connecting to localhost [::1] port 22. debug1: connect to address ::1 port 22: Connection refused ssh: connect to host localhost port 22: Connection refused geronimo:/data...
2010 May 13
1
sshd dies if passed host key with relative path on command line
...client side: $ ssh sshia2 -p 1234 -vvv OpenSSH_5.5p1+sftpfilecontrol-v1.3-hpn13v7, OpenSSL 0.9.8n 24 Mar 2010 HP-UX Secure Shell-A.05.50.002.LdapTest, HP-UX Secure Shell version debug1: Reading configuration data /opt/ssh/etc/ssh_config debug3: RNG is ready, skipping seeding debug2: ssh_connect: needpriv 0 debug1: Connecting to sshia2 [fe80::217:8ff:fe7c:d91c] port 1234. debug1: Connection established. debug1: identity file /home/user1/.ssh/id_rsa type -1 debug1: identity file /home/user1/.ssh/id_rsa-cert type -1 debug1: identity file /home/user1/.ssh/id_dsa type -1 debug1: identity file /home/user...
2015 Jul 23
2
[Bug 2433] New: please add debug output when resolving
...h/config line 374: Applying options for * 0.000150 debug1: Reading configuration data /etc/ssh/ssh_config 0.000157 debug1: /etc/ssh/ssh_config line 19: Applying options for * 0.000164 debug1: Control socket "/tmp/ssh-ioooi.vinc17.net-22-vinc17" does not exist 5.078375 debug2: ssh_connect: needpriv 0 5.078423 debug1: Connecting to ioooi.vinc17.net [92.243.22.117] port 22. 5.155833 debug1: Connection established. [...] even if a few seconds before, there was no such problem. When I run "ping ioooi.vinc17.net" during this test, there isn't any problem shown in the ping output (i....
2002 Jun 11
4
ssh setuid changes.
.../* Create a socket for connecting. */ - sock = ssh_create_socket(pw, -#ifdef HAVE_CYGWIN - !anonymous, -#else - !anonymous && geteuid() == 0, -#endif + sock = ssh_create_socket(needpriv, ai->ai_family); If there is problems with having ssh setuid please speak up and preferable with a patch so I don't have to suffer at the hands of my poor 68k-25mhz box.=) - Ben
2002 Jul 17
1
[Bug 357] New: SSH does not handle "Protocol" option in ~/.ssh/options properly
...hevy", we see: OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f debug1: Reading configuration data /home/dfs/.ssh/config debug1: Applying options for * debug1: Applying options for shevy debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to shevy.roaringpenguin.com [192.168.2.1] port 23. debug1: Connection established. debug1: identity file /home/dfs/.ssh/identity type 0 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.4p1 debug1: match: OpenSSH_3.4p1 pat OpenSSH* debug1: Local version st...
2008 Jun 12
8
Booting from CD to rescue a DomU
Hi Xen Users, I would like to boot into a knoppix iso on an existing domU. In my config file i have: disk = [ "file:/var/lib/xen/images/machine-10.img,hda,w","file:/mnt/knoppix.iso, hdb:cdrom,hdb,r" ] Can''t seem to boot it though. Do I have to go into the VMs BIOS to tell it to boot it? Cheers CHris _______________________________________________ Xen-users
2014 Feb 13
0
openssh-6.5p1 on Solaris 10 - segmentation fault
...s-cbc,aes192-cbc,aes256-cbc] debug3: kex names ok: [diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1] debug1: /etc/ssh/ssh_config line 57: Applying options for * debug3: RNG is ready, skipping seeding debug2: ssh_connect: needpriv 1 debug1: Connecting to mimir [XXX.XXX.XXX.XXX] port 22. Segmentation fault Debug as regular user: kraken:~> /opt/local/src/security/openssh-6.5p1/ssh -vvv mimir OpenSSH_6.5, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config debug3: cipher ok: aes128-cbc [aes128-...
2015 Mar 06
4
Networking troubles on CentOS 7
...net: outside_machine$ ssh -vvvv root at 10.14.6.60 OpenSSH_5.3p1, OpenSSL 1.0.1e-fips 11 Feb 2013 debug1: Reading configuration data /login/sg219898/.ssh/config debug1: Applying options for * debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 10.14.6.60 [10.14.6.60] port 22. debug1: connect to address 10.14.6.60 port 22: Connection timed out ssh: connect to host 10.14.6.60 port 22: Connection timed out (255)outside_machine$ >From inside: http://picpaste.com/Untitled-wOeTEcEu.png http://picpaste.com/Untitled2-...
2016 Feb 03
3
[Bug 2538] New: openssh v7 config parse regression
...SH_7.1p2, OpenSSL 1.0.2e 3 Dec 2015 debug1: Reading configuration data /home/petrus/.ssh/config debug1: /home/petrus/.ssh/config line 42: Applying options for foo* debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 21: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to foo.bar.com [192.0.2.12] port 22. ^C OpenBSD 5.8: $ ssh -vv foo OpenSSH_7.0, LibreSSL 2.2.2 debug1: Reading configuration data /home/petrus/.ssh/config debug1: /home/petrus/.ssh/config line 42: Applying options for foo* debug1: Reading configuration data /etc/ssh/ssh_config...
2014 Aug 25
2
Call for testing: OpenSSH 6.7
...eceived signal 15; terminating. debug2: channel 0: rcvd close Received disconnect from 127.0.0.1: 11: disconnected by user debug1: do_cleanup FAIL: ssh connect after login grace timeout failed without privsep [root at buildhost regress]# cat failed-ssh.log trace: wait for sshd debug2: ssh_connect: needpriv 0 debug1: Connecting to 127.0.0.1 [127.0.0.1] port 4242. debug1: connect to address 127.0.0.1 port 4242: Connection refused ssh: connect to host 127.0.0.1 port 4242: Connection refused FAIL: ssh connect after login grace timeout failed without privsep Need to dig through my email archives - I woul...
2005 Jun 12
2
%h,%p,%u expansion for ControlPath
...00 +0000 +++ openssh-4.1p1/sshconnect.c 2005-06-12 09:36:33.000000000 +0100 @@ -308,18 +308,9 @@ ssh_connect(const char *host, struct soc int sock = -1, attempt; char ntop[NI_MAXHOST], strport[NI_MAXSERV]; struct addrinfo hints, *ai, *aitop; - struct servent *sp; debug2("ssh_connect: needpriv %d", needpriv); - /* Get default port if port has not been set. */ - if (port == 0) { - sp = getservbyname(SSH_SERVICE_NAME, "tcp"); - if (sp) - port = ntohs(sp->s_port); - else - port = SSH_DEFAULT_PORT; - } /* If a proxy command is given, connect using it. */ if (pr...
2002 Aug 19
0
kerberosIV authentication is broken in openssh-3.4p1
...ug 19 12:40:49 Aug 19 22:40:49 afs at NATUR.CUNI.CZ nmrindy$ ./ssh -v nmrindy -1 OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090604f debug1: Reading configuration data /usr/local/etc/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 debug1: Connecting to nmrindy [195.113.59.111] port 22. debug1: Connection established. debug1: identity file /software/usr/home/mmokrejs/.ssh/identity type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.1p1 debug1: match: OpenSSH_3.1p1 pat OpenSSH_2.*,OpenSSH_3.0*,Ope...
2002 Sep 10
8
[Bug 369] Inconsistant exiit status from scp
...mod-tsf.pitux.com, user root, command scp -v -f .bashrc OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: ssh_connect: needpriv 0 ssh: mod-tsf.pitux.com: Name or service not known fg!rtfm 0 (pts/2) ~ $ scp -v root at mod-tsd.pitux.com:fartr /tmp Executing: program /usr/bin/ssh host mod-tsd.pitux.com, user root, command scp -v -f fartr OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f debug1: Reading configuration...
2008 Jun 30
2
Build bug and execution bug
...s a shell that does nothing except keep the connection open. On my home machine, I then attempt: ssh -X -p ${PORT} <work-uname>@localhost The result (with "-vv'): OpenSSH_5.0p1, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data ${HOME}/.ssh/config debug2: ssh_connect: needpriv 0 debug1: Connecting to localhost [127.0.0.1] port ${PORT}. debug1: connect to address 127.0.0.1 port ${PORT}: Connection refused debug1: Connecting to localhost [::1] port ${PORT}. debug1: connect to address ::1 port ${PORT}: Connection refused ssh: connect to host localhost port ${PORT}: Connecti...
2006 Sep 14
2
openSSH 4.3p2
...am allowing both protocols 1 and 2 Have generated the keys (I don't get any error messages when I start the daemon). When I do a: rmarshall at Sam:/opt/bin$ ./ssh sam -vvv OpenSSH_4.3p2, OpenSSL 0.9.7g 11 Apr 2005 debug1: Reading configuration data /opt/etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to sam [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /home/rmarshall/.ssh/identity type 0 debug3: Not a RSA1 key file /home/rmarshall/.ssh/id_rsa. debug2: key_type_from_name: unknown key type '-----BEGIN' debug3: key_read: missing keytype de...
2013 Oct 07
4
Feature request: FQDN Host match
Hello! I'm hoping that Gmail won't HTML format this mail so that I'll get flamed :) Anyway, my question relates to ssh_config. The problem I find is that the Host pattern is only applied to the argument given on the command line, as outlined in the man page: "The host is the hostname argument given on the command line (i.e. the name is not converted to a canonicalized host name