Displaying 11 results from an estimated 11 matches for "ssh_session".
2007 Aug 04
13
[Bug 1349] New: race condition with ControlMaster=auto
http://bugzilla.mindrot.org/show_bug.cgi?id=1349
Summary: race condition with ControlMaster=auto
Product: Portable OpenSSH
Version: 4.6p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: bitbucket at mindrot.org
ReportedBy: dot at dotat.at
2007 Jul 24
1
ssh client does not timeout if the network fails after ssh_connect but before ssh_exchange_identification, even with Alive options set
...liveCountMax 3
The ssh client kept hanging even after the network was resumed. It finally
timed out after about 2 hours because the tcp_keepalive_time is set as 2
hours in sysctl.
I looked at the ssh code downloaded from your website and found the Alive
options are only used to setup timeout after ssh_session starts. So my
question is why we do not start monitoring the liveness of ssh server right
after a connection is established. It is annoying when an application relies
on ssh to do periodic work but an occasional network failure causes the
application to miss several service circles due to ssh hangi...
2024 Oct 13
5
[Bug 3743] New: ControlMaster forces ForkAfterAuthentication even when not wanted, and can't be disabled
...means something went wrong. I'm not sure if that approach
is a good or bad idea, but either way, forking after authentication
when "ForkAfterAuthentication=no" feels like a bug.
[0]
https://github.com/zed-industries/zed/blob/ec5d6e96bb304886f49680b54e58c9b0e7221cd6/crates/remote/src/ssh_session.rs#L1137-L1150
"Start the master SSH process, which does not do anything except for
establish the connection and keep it open, allowing other ssh commands
to reuse it via a control socket."
[1]
https://github.com/zed-industries/zed/blob/ec5d6e96bb304886f49680b54e58c9b0e7221cd6/crates/re...
2019 Sep 01
11
[nbdkit PATCH 00/10] Avoid -Wshadow
While working on can_FOO caching, at one point I got confused by
whether 'readonly' meant the global set by -r or a local passed to
.open(). A quick attempt to compile with -Wshadow found several other
confusing points; this series gets us to the point that we can add
-Wshadow to builds with --enable-gcc-warnings.
Eric Blake (10):
server: Avoid -Wshadow warnings
guestfs: Avoid
2000 Nov 05
0
Socket options not properly set for ssh and sshd.
...cation to
do_authenticated to
packet_set_interactive
For sshd protocol 2 connections, function calls are made:
main to
do_authentication2 to
do_authenticated2
which does not call packet_set_interactive.
For ssh protocol 1 connections, packet_set_interactive is called
from ssh_session. For protocol 2, the corresponding function
ssh_session2 makes no call to packet_set_interactive.
----------------
I haven't delved into the protocol specifications, so if protocol
2 lacks an obvious way to determine if a connection is "interactive",
then so be it. However, the ke...
2019 Mar 06
0
[PATCH nbdkit] Add ssh plugin using libssh.
...umber.\n" \
+ "user=<USER> SSH user name.\n" \
+ "password=<PASSWORD> SSH password.\n" \
+ "config=<CONFIG> Alternate local SSH configuration file." \
+
+/* The per-connection handle. */
+struct ssh_handle {
+ ssh_session session;
+ sftp_session sftp;
+ sftp_file file;
+};
+
+/* Verify the remote host.
+ * See: http://api.libssh.org/master/libssh_tutor_guided_tour.html
+ */
+static int
+verify_remote_host (struct ssh_handle *h)
+{
+ enum ssh_known_hosts_e state;
+ unsigned char *hash = NULL;
+ ssh_key srv_pubke...
2015 Jul 29
2
[PATCH] ssh: Add option to present certificates on command line
...th] [-W host:port]\n"
-" [-w local_tun[:remote_tun]] [user@]hostname [command]\n"
+" [-w local_tun[:remote_tun]] [-z certificate_file]\n"
+" [user@]hostname [command]\n"
);
exit(255);
}
@@ -215,6 +216,7 @@ usage(void)
static int ssh_session(void);
static int ssh_session2(void);
static void load_public_identity_files(void);
+static void load_certificate_files(void);
static void main_sigchld_handler(int);
/* from muxclient.c */
@@ -595,7 +597,7 @@ main(int ac, char **av)
again:
while ((opt = getopt(ac, av, "1246ab:c:e:f...
2019 Mar 06
2
[PATCH nbdkit] Add ssh plugin using libssh.
This adds a simple plugin using libssh (not libssh2). The intended
use for this is with virt-v2v when sourcing guests from VMware over
SSH.
We've had several years of problems getting our libssh-based driver
into qemu. By putting it into nbdkit instead we can bypass that.
However this also lets us combine ssh access with filters, in
particular the recently written ‘rate’ filter.
Rich.
2002 Mar 08
0
[Bug 152] New: Build failure on Sparc/Solaris 2.8 with Sun cc or gcc
...t;/usr/local/free/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
ssh.c
ssh.c: In function `main':
ssh.c:620: warning: implicit declaration of function `snprintf'
ssh.c: In function `x11_get_proto':
ssh.c:835: warning: implicit declaration of function `strlcpy'
ssh.c: In function `ssh_session':
ssh.c:898: storage size of `ws' isn't known
ssh.c:936: warning: implicit declaration of function `ioctl'
ssh.c:936: `TIOCGWINSZ' undeclared (first use in this function)
ssh.c:936: (Each undeclared identifier is reported only once
ssh.c:936: for each function it appears in.)
ss...
2001 Feb 01
0
warnings on aix325
...;:
entropy.c:596: warning: int format, long int arg (arg 2)
uidswap.c: In function `temporarily_use_uid':
uidswap.c:54: warning: implicit declaration of function `seteuid'
ssh.c: In function `main':
ssh.c:252: warning: implicit declaration of function `setrlimit'
ssh.c: In function `ssh_session':
ssh.c:802: warning: implicit declaration of function `ioctl'
sshconnect.c: In function `ssh_create_socket':
sshconnect.c:169: warning: implicit declaration of function `socket'
sshconnect.c: In function `ssh_connect':
sshconnect.c:265: warning: implicit declaration of function...
2000 Jul 18
5
scp not shutting down in 2.1.1p4
Hi!
as I just noted, after scp the connection does not shut down properly.
When I do a "scp file targethost:path", on targethost a "sshd" process is
left running. I do use
--with-default-path="/usr/local/openssh/bin:/usr/bin:/usr/local/bin"
to assure, that the corrensponding openssh-scp is used.
It also seems, that normal sessions are not always closed properly.