search for: pkblob

Displaying 20 results from an estimated 65 matches for "pkblob".

2016 Feb 14
5
[Bug 2541] New: Add explicit_bzero() before free() in OpenSSH-7.1p2 for auth1.c/auth2.c/auth2-hostbased.c
...hostbased.c 2016-02-13 19:04:31.173700796 -0800 @@ -147,10 +147,15 @@ debug2("userauth_hostbased: authenticated %d", authenticated); if (key != NULL) key_free(key); + explicit_bzero(pkalg, sizeof(*pkalg)); free(pkalg); + explicit_bzero(pkblob, sizeof(*pkblob)); free(pkblob); + explicit_bzero(cuser, sizeof(*cuser)); free(cuser); + explicit_bzero(chost, sizeof(*chost)); free(chost); + explicit_bzero(sig, sizeof(*sig)); free(sig); return authenticated; } @@ -237,6 +242,7 @@...
2011 Nov 03
1
Help with CA Certificates for user authentication?
...9;: ...and, correspondingly on the server: debug1: KEX done debug1: userauth-request for user test service ssh-connection method none debug1: attempt 0 failures 0 debug1: userauth-request for user test service ssh-connection method publickey debug1: attempt 1 failures 0 debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 63203/54000 (e=0/0) debug1: trying public key file /etc/sshtest/authorized_keys debug1: fd 5 clearing O_NONBLOCK debug1: restore_uid: 0/0 debug1: temporarily_use_uid: 63203/54000 (e=0/0) debug1: trying public key file /etc/sshtest/authorized_keys debug1:...
2003 Oct 08
4
OS/390 openssh
...;msg); diff -bur openssh-3.7.1p2.orig/auth2-hostbased.c openssh-3.7.1p2/auth2-hostbased.c --- openssh-3.7.1p2.orig/auth2-hostbased.c Sat Jun 28 04:38:02 2003 +++ openssh-3.7.1p2/auth2-hostbased.c Tue Oct 7 08:21:59 2003 @@ -60,10 +60,10 @@ return 0; } pkalg = packet_get_string(&alen); - pkblob = packet_get_string(&blen); + pkblob = packet_get_binary(&blen); chost = packet_get_string(NULL); cuser = packet_get_string(NULL); - sig = packet_get_string(&slen); + sig = packet_get_binary(&slen); debug("userauth_hostbased: cuser %s chost %s pkalg %s slen %d",...
2000 Nov 30
1
Problem and Patch: Multiple keys in ssh.com V2 agent
...X service ssh-connection method none debug1: attempt #1 debug1: Starting up PAM with username "XXXXXX" Failed none for XXXXXX from XXX.XXX.XXX.XXX port 34257 ssh2 debug1: userauth-request for user XXXXXX service ssh-connection method publickey debug1: attempt #2 debug1: test whether pkalg/pkblob are acceptable Failed publickey for XXXXXX from XXX.XXX.XXX.XXX port 34257 ssh2 debug1: userauth-request for user XXXXXX service ssh-connection method publickey debug1: attempt #3 debug1: test whether pkalg/pkblob are acceptable Failed publickey for XXXXXX from XXX.XXX.XXX.XXX port 34257 ssh2 debug...
2002 Jul 25
0
scp hangs
...-connection method none debug1: attempt 0 failures 0 Failed none for root from 192.168.1.5 port 1743 ssh2 Failed none for root from 192.168.1.5 port 1743 ssh2 debug1: userauth-request for user root service ssh-connection method publickey debug1: attempt 1 failures 1 debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 0/0 (e=0) debug1: trying public key file /root/.ssh/authorized_keys debug1: restore_uid debug1: temporarily_use_uid: 0/0 (e=0) debug1: trying public key file /root/.ssh/authorized_keys2 debug1: restore_uid Failed publickey for root from 192.168.1.5...
2003 Jul 09
3
OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes
...ot using when strictmode is set to yes. output of debug: Failed none for root from 192.168.1.1 port 1199 ssh2 debug1: userauth-request for user root service ssh-connection method publickey debug1: attempt 1 failures 1 debug2: input_userauth_request: try method publickey debug1: test whether pkalg/pkblob are acceptable debug1: trying public key file //.ssh/authorized_keys debug3: secure_filename: checking '/.ssh' debug3: secure_filename: checking '' Authentication refused: bad ownership or modes for directory debug1: trying public key file //.ssh/authorized_keys2 debug3: secure_file...
2005 Apr 28
1
ssh 4.0 under AIX 5.3 password expiration
...ection method none debug1: attempt 0 failures 0 Failed none for dummy from 192.168.247.63 port 34762 ssh2 Failed none for dummy from 192.168.247.63 port 34762 ssh2 debug1: userauth-request for user dummy service ssh-connection method publickey debug1: attempt 1 failures 1 debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 203/1 (e=0/0) debug1: trying public key file /home/dummy/.ssh/authorized_keys debug1: restore_uid: 0/0 debug1: temporarily_use_uid: 203/1 (e=0/0) debug1: trying public key file /home/dummy/.ssh/authorized_keys2 debug1: restore_uid: 0/0 Failed publickey fo...
2005 Apr 21
0
openssh 4.0p1 under OSX
...mac service ssh-connection method none debug1: attempt 0 failures 0 Failed none for themac from ::1 port 55838 ssh2 Failed none for themac from ::1 port 55838 ssh2 debug1: userauth-request for user themac service ssh-connection method publickeydebug1: attempt 1 failures 1 debug1: test whether pkalg/pkblob are acceptable debug1: trying public key file /Users/themac/.ssh/authorized_keys debug1: trying public key file /Users/themac/.ssh/authorized_keys2 Failed publickey for themac from ::1 port 55838 ssh2 debug1: userauth-request for user themac service ssh-connection method keyboard-interactive debug1...
2001 Jun 26
1
OpenSSH 2.9p2 with PAMAuthenticationViaKbdInt
...uot; debug2: input_userauth_request: try method none Failed none for matthewm from 127.0.0.1 port 2911 ssh2 debug1: userauth-request for user matthewm service ssh-connection method publickey debug1: attempt 1 failures 1 debug2: input_userauth_request: try method publickey debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 500/500 (e=0) debug1: restore_uid debug2: userauth_pubkey: authenticated 0 pkalg ssh-dss Failed publickey for matthewm from 127.0.0.1 port 2911 ssh2 debug1: userauth-request for user matthewm service ssh-connection method publickey debug1: attempt 2 failu...
2002 Mar 11
0
Password-Authentication with openssh-3.1p1 fails
...Starting up PAM with username "andreas" debug1: PAM setting rhost to "localhost" Failed none for andreas from 127.0.0.1 port 1053 ssh2 debug1: userauth-request for user andreas service ssh-connection method publickey debug1: attempt 1 failures 1 debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 500/100 (e=0) debug1: trying public key file /home/andreas/.ssh/authorized_keys debug1: restore_uid debug1: temporarily_use_uid: 500/100 (e=0) debug1: trying public key file /home/andreas/.ssh/authorized_keys2 debug1: restore_uid Failed publickey...
2006 Nov 15
11
OpenSSH Certkey (PKI)
...h" +#endif +#include "monitor_wrap.h" +#include "misc.h" + +/* import */ +extern ServerOptions options; +extern u_char *session_id2; +extern u_int session_id2_len; + +static int +userauth_certkey(Authctxt *authctxt) +{ + Buffer b; + Key *key = NULL; + char *pkalg; + u_char *pkblob, *sig, *cert; + u_int alen, blen, slen, clen; + int have_sig, pktype; + int authenticated = 0; + + if (!authctxt->valid) { + debug2("userauth_certkey: disabled because of invalid user"); + return 0; + } + have_sig = packet_get_char(); + if (datafellows & SSH_BUG_PKAUTH) { + debu...
2001 Dec 19
0
public key authentication failure
...om reading sshd -ddd and ssh -v I can't figure out what goes wrong. Could somebody interpret the attached typescripts for me, please? Here's the relevant part from the server log and I don't understand it: debug2: input_userauth_request: try method publickey debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 1005/1005 (e=0) debug1: restore_uid debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa Failed publickey for incomingmail from cl.ie.nt.ip port 29365 ssh2 Another thing that puzzles me is why does it start asking for s/key authentication? I don't...
2002 Mar 12
0
[Bug 159] New: Password-Authentication with openssh-3.1p1 fails
...Starting up PAM with username "andreas" debug1: PAM setting rhost to "localhost" Failed none for andreas from 127.0.0.1 port 1053 ssh2 debug1: userauth-request for user andreas service ssh-connection method publickey debug1: attempt 1 failures 1 debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 500/100 (e=0) debug1: trying public key file /home/andreas/.ssh/authorized_keys debug1: restore_uid debug1: temporarily_use_uid: 500/100 (e=0) debug1: trying public key file /home/andreas/.ssh/authorized_keys2 debug1: restore_uid Failed publickey...
2001 Dec 18
2
[PATCH]: Fix potential security hole in Cygwin version
...(Authctxt *authctxt) xfree(devs); xfree(lang); #ifdef HAVE_CYGWIN - if (check_nt_auth(0, authctxt->pw->pw_uid) == 0) + if (check_nt_auth(0, authctxt->pw) == 0) return(0); #endif return authenticated; @@ -510,7 +510,7 @@ userauth_pubkey(Authctxt *authctxt) xfree(pkalg); xfree(pkblob); #ifdef HAVE_CYGWIN - if (check_nt_auth(0, authctxt->pw->pw_uid) == 0) + if (check_nt_auth(0, authctxt->pw) == 0) return(0); #endif return authenticated; Index: openbsd-compat/bsd-cygwin_util.c =================================================================== RCS file: /cvs/opens...
2000 Dec 06
1
openssh-2.3.0p1 (Linux) fails using options with dss key
..._NEWKEYS. debug1: done: KEX2. debug1: userauth-request for user prl service ssh-connection method none debug1: attempt #1 Failed none for prl from 62.232.14.113 port 3589 ssh2 debug1: userauth-request for user prl service ssh-connection method publickey debug1: attempt #2 debug1: test whether pkalg/pkblob are acceptable debug1: Adding to environment: ONE=two debug1: matching key found: file /users/prl/.ssh/authorized_keys2, line 1 Postponed publickey for prl from 62.232.14.113 port 3589 ssh2 fatal: Read from socket failed: Broken pipe debug1: Calling cleanup 0x805d608(0x0) -------------- next part...
2024 Feb 07
3
[Bug 3665] New: publickey RSA signature unverified: error in libcrypto to RHEL9 sshd (with LEGACY crypto policy enabled)
...e that it makes rsa-sha2-512 references 2024 Feb 2 13:33:27 RHEL9 [authpriv.debug] sshd: debug2: userauth_pubkey: valid user USERREDACTED querying public key rsa-sha2-512 PUBLICKEYREDACTED [preauth] 2024 Feb 2 13:33:27 RHEL9 [authpriv.debug] sshd: debug1: userauth_pubkey: test pkalg rsa-sha2-512 pkblob RSA SHA256:RSASIGNATUREREDACTED [preauth] 2024 Feb 2 13:33:27 RHEL9 [authpriv.debug] sshd: debug1: /home/USERREDACTED/.ssh/authorized_keys:33: matching key found: RSA SHA256:RSASIGNATUREREDACTED 2024 Feb 2 13:33:27 RHEL9 [authpriv.info] sshd: Accepted key RSA SHA256:RSASIGNATUREREDACTED found at...
2003 Jul 10
0
[Bug 615] OpenSSH 3.6.1p2 ON SCO 3.2v4.2 + STRICTMODES -->yes
...ot using when strictmode is set to yes. output of debug: Failed none for root from 192.168.1.1 port 1199 ssh2 debug1: userauth-request for user root service ssh-connection method publickey debug1: attempt 1 failures 1 debug2: input_userauth_request: try method publickey debug1: test whether pkalg/pkblob are acceptable debug1: trying public key file //.ssh/authorized_keys debug3: secure_filename: checking '/.ssh' debug3: secure_filename: checking '' Authentication refused: bad ownership or modes for directory debug1: trying public key file //.ssh/authorized_keys2 debug3: secure_file...
2002 Oct 10
0
[Bug 412] New: AuthorizedKeysFile assumes home directory access upon authentication
...ccessed by sshd without AFS tokens. This ends up failing however, with this debug output (from sshd -d): debug1: userauth-request for user (username) service ssh-connection method publickey debug1: attempt 1 failures 1 debug2: input_userauth_request: try method publickey debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 1359/10 (e=0) debug1: trying public key file /home/(username)/.ssh/authorized_keys Authentication refused: realpath /afs/ic-afs.arc.nasa.gov/admin/(username) failed: Permission denied Apparently OpenSSH is stat'ing the home directory, despite the fac...
2004 Sep 14
0
Key authentication -- not working
...debug2: input_userauth_request: try method none Failed none for ROOT from ::ffff:192.168.1.111 port 34048 ssh2 debug1: userauth-request for user root service ssh-connection method publickey debug1: attempt 1 failures 1 debug2: input_userauth_request: try method publickey debug1: test whether pkalg/pkblob are acceptable debug1: temporarily_use_uid: 0/0 (e=0) debug1: restore_uid debug2: userauth_pubkey: authenticated 0 pkalg ssh-dss Failed publickey for ROOT from ::ffff:192.168.1.111 port 34048 ssh2 Any ideas? Need more info? -- Kevin DeGraaf
2011 Sep 03
7
scp fails after sending command: scp -v -t
I encounter a strange problem with scp / sftp: I travel quite a bit. Normally I never have had any problems using ssh / scp / sftp to connect from my laptop to my computer at home / in the office. Currently (for the next 6 months, too long to ignore it) I'll stay in a place where scp / sftp seem to fail, while as usual I have no problems to establish an interactive ssh connection to these