Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nxssh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rx-etersoft
nxssh
Commits
1391f5e5
Commit
1391f5e5
authored
Jan 12, 2026
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build fixes
parent
e6e05d87
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
nxssh.spec
.gear/nxssh.spec
+1
-0
sshconnect.c
sshconnect.c
+2
-1
sshconnect2.c
sshconnect2.c
+3
-3
No files found.
.gear/nxssh.spec
View file @
1391f5e5
...
@@ -43,6 +43,7 @@ confdir=""
...
@@ -43,6 +43,7 @@ confdir=""
[ -r "/etc/ssh/ssh_config" ] && confdir="/ssh"
[ -r "/etc/ssh/ssh_config" ] && confdir="/ssh"
[ -r "/etc/ssh_config" ] && confdir="/"
[ -r "/etc/ssh_config" ] && confdir="/"
%__subst "s|-DSSHDIR=\\\\\"\$(sysconfdir)\\\\\"|-DSSHDIR=\\\\\"\$(sysconfdir)${confdir}\\\\\"|g" Makefile.in
%__subst "s|-DSSHDIR=\\\\\"\$(sysconfdir)\\\\\"|-DSSHDIR=\\\\\"\$(sysconfdir)${confdir}\\\\\"|g" Makefile.in
%__subst "s|\[ #include <stdio.h> \]|\[ #include <stdlib.h> \]|g" configure.ac
%autoreconf
%autoreconf
%configure --without-zlib-version-check %{subst_with kerberos5}
%configure --without-zlib-version-check %{subst_with kerberos5}
...
...
sshconnect.c
View file @
1391f5e5
...
@@ -81,6 +81,7 @@
...
@@ -81,6 +81,7 @@
#include "authfile.h"
#include "authfile.h"
#include "ssherr.h"
#include "ssherr.h"
#include "authfd.h"
#include "authfd.h"
#include "uuencode.h"
#define PANIC
#define PANIC
#define WARNING
#define WARNING
...
@@ -562,7 +563,7 @@ ssh_webproxy_connect(const char *proxy_host, u_short proxy_port, const char *pro
...
@@ -562,7 +563,7 @@ ssh_webproxy_connect(const char *proxy_host, u_short proxy_port, const char *pro
}
}
if
(
timeout_connect
(
sock
,
ai
->
ai_addr
,
ai
->
ai_addrlen
,
if
(
timeout_connect
(
sock
,
ai
->
ai_addr
,
ai
->
ai_addrlen
,
options
.
connection_timeout
)
>=
0
)
&
options
.
connection_timeout
)
>=
0
)
{
{
/* Successful connection. */
/* Successful connection. */
memcpy
(
hostaddr
,
ai
->
ai_addr
,
ai
->
ai_addrlen
);
memcpy
(
hostaddr
,
ai
->
ai_addr
,
ai
->
ai_addrlen
);
...
...
sshconnect2.c
View file @
1391f5e5
...
@@ -393,7 +393,7 @@ Authmethod nxauthmethods_pubkey[] = {
...
@@ -393,7 +393,7 @@ Authmethod nxauthmethods_pubkey[] = {
#endif
#endif
{
"publickey"
,
{
"publickey"
,
userauth_pubkey
,
userauth_pubkey
,
&
options
.
pubkey_authentication
,
(
void
(
*
)(
struct
cauthctxt
*
))
&
options
.
pubkey_authentication
,
NULL
},
NULL
},
{
"none"
,
{
"none"
,
userauth_none
,
userauth_none
,
...
@@ -405,11 +405,11 @@ Authmethod nxauthmethods_pubkey[] = {
...
@@ -405,11 +405,11 @@ Authmethod nxauthmethods_pubkey[] = {
Authmethod
nxauthmethods_passwords
[]
=
{
Authmethod
nxauthmethods_passwords
[]
=
{
{
"keyboard-interactive"
,
{
"keyboard-interactive"
,
userauth_kbdint
,
userauth_kbdint
,
&
options
.
kbd_interactive_authentication
,
(
void
(
*
)(
struct
cauthctxt
*
))
&
options
.
kbd_interactive_authentication
,
&
options
.
batch_mode
},
&
options
.
batch_mode
},
{
"password"
,
{
"password"
,
userauth_passwd
,
userauth_passwd
,
&
options
.
password_authentication
,
(
void
(
*
)(
struct
cauthctxt
*
))
&
options
.
password_authentication
,
&
options
.
batch_mode
},
&
options
.
batch_mode
},
{
"none"
,
{
"none"
,
userauth_none
,
userauth_none
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment