search for: orighost

Displaying 8 results from an estimated 8 matches for "orighost".

Did you mean: orig_out
2018 Dec 10
2
[PATCH] cleanup of global variables server/client_version_string in sshconnect.c
...version \"%.100s\" uses unsafe RSA signature " "scheme; disabling use of RSA keys", remote_version); - chop(server_version_string); + chop(*server_version_stringp); } /* defaults to 'no' */ @@ -1406,6 +1404,8 @@ ssh_login(Sensitive *sensitive, const char *orighost, { char *host; char *server_user, *local_user; + char *client_version_string = NULL; + char *server_version_string = NULL; local_user = xstrdup(pw->pw_name); server_user = options.user ? options.user : local_user; @@ -1415,7 +1415,7 @@ ssh_login(Sensitive *sensitive, const char *origh...
2002 Oct 16
3
ssh-3.5p1 core dumps on Solaris 2.6
...x3fac4 in kex_input_kexinit (type=20, seq=0, ctxt=0x105d90) at kex.c:209 #12 0x3ba64 in dispatch_run (mode=0, done=0x105dd4, ctxt=0x105d90) at dispatch.c:93 #13 0x24698 in ssh_kex2 (host=0xfa790 "pf-i400", hostaddr=0xf3560) at sshconnect2.c:119 #14 0x21778 in ssh_login (sensitive=0xf433c, orighost=0xeffffab1 "pf-i400", hostaddr=0xf3560, pw=0xf4d28) at sshconnect.c:846 #15 0x1dd4c in main (ac=0, av=0xeffff9c8) at ssh.c:701 (gdb) $ ./ssh -v pf-i400 -1 OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x00906080 debug1: Reading configuration data /usr/local/etc/ssh_config debug1: A...
2002 Aug 02
3
[Bug 377] New: Reduce compiler warnings. Use unsigned args to the ctype.h is*() macros.
...connect.c,v retrieving revision 1.99 diff -u -p -r1.99 sshconnect.c --- sshconnect.c 1 Aug 2002 01:26:30 -0000 1.99 +++ sshconnect.c 2 Aug 2002 12:13:44 -0000 @@ -831,7 +831,7 @@ ssh_login(Sensitive *sensitive, const ch /* Convert the user-supplied hostname into all lowercase. */ host = xstrdup(orighost); for (cp = host; *cp; cp++) - if (isupper(*cp)) + if (isupper((unsigned)*cp)) *cp = tolower(*cp); /* Exchange protocol version identification strings with the server. */ Index: openbsd-compat/inet_aton.c =================================================================== RCS file: /cvs...
2001 Mar 27
0
openssh stack corruption in arc4random_stir () on OS X
...backtrace in GDB gives: #0 0x00006bd4 in ssh_userauth (local_user=0x339d0 "", server_user=0xbffffc0c "cjm", host=0xe00c0 "sun4", host_key_valid=211808, own_host_key=0xdff50) at sshconnect1.c:1020 #1 0x000058fc in ssh_login (host_key_valid=0, own_host_key=0xdff50, orighost=0xbffffc10 "sun4", hostaddr=0x338b0, original_real_uid=917696) at sshconnect.c:774 #2 0x00003574 in main (ac=4, av=0xbffffb44) at ssh.c:698 #3 0x00002060 in _start () #4 0x00001ea0 in start () #5 0x00000000 in ?? () It seems that options has total garbage in it; in particular the n...
2001 Sep 28
0
openssh-2.9.9p2 subscript violation problems with ctype macros
...retrieving revision 2.9.9.2.0.1 diff -pu -r2.9.9.2 -r2.9.9.2.0.1 --- sshconnect.c 2001/08/07 22:29:09 2.9.9.2 +++ sshconnect.c 2001/09/28 18:48:11 2.9.9.2.0.1 @@ -881,8 +881,8 @@ ssh_login(Key **keys, int nkeys, const c /* Convert the user-supplied hostname into all lowercase. */ host = xstrdup(orighost); for (cp = host; *cp; cp++) - if (isupper(*cp)) - *cp = tolower(*cp); + if (isupper((unsigned char)*cp)) + *cp = tolower((unsigned char)*cp); /* Exchange protocol version identification strings with the server. */ ssh_exchange_identification();
2010 Nov 28
2
[PATCH] Use canonical hostname for DNS SSHFP lookup
...ify_host_key_dns(host, hostaddr, host_key, &flags) == 0) { + canohost != NULL && + verify_host_key_dns(host, hostaddr, host_key, &flags, canohost) == 0) { if (flags & DNS_VERIFY_FOUND) { @@ -1108,7 +1116,8 @@ */ void ssh_login(Sensitive *sensitive, const char *orighost, - struct sockaddr *hostaddr, struct passwd *pw, int timeout_ms) + struct sockaddr *hostaddr, struct passwd *pw, int timeout_ms, + const char *canohost) { char *host, *cp; char *server_user, *local_user; @@ -1131,7 +1140,7 @@ /* key exchange */ /* authenticate user */ if (compat...
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
2010 Aug 09
8
Call for testing: OpenSSH-5.6
Hi, OpenSSH 5.6 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This is a moderately large release, with a number of new features and bug fixes. 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