Re: single/multi threaded?
From: Greg Wooledge (wooledg@eeg.ccf.org)
Date: 03/18/03
- Previous message: Peter: "Re: ssh with diskless machines"
- In reply to: Rahul Gopal: "single/multi threaded?"
- Next in thread: Rahul Gopal: "Re: single/multi threaded?"
- Reply: Rahul Gopal: "Re: single/multi threaded?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 18 Mar 2003 08:15:59 -0500 From: Greg Wooledge <wooledg@eeg.ccf.org> To: Rahul Gopal <rahulg@yahoo.com>
On Mon, Mar 17, 2003 at 02:00:37PM -0800, Rahul Gopal wrote:
> I'd like to know if the ssh software from openssh.org
> is single-threaded or multi-threaded.
What do you mean by this?
A running sshd will fork() a child process to handle each connection
that comes in. So you can connect as many times as you wish to a
given server.
On the client side, you can run as many instances of ssh as you need,
one for each connection.
An ssh tunnel set up between a client and a server will allow multiple
connections. I currently run a tunnel from my workstation here at
work, which is on a 10.* address behind a NAT, to my OpenBSD server
at home. I'm tunneling port 8888, the Freenet web interface. When
I point my web browser at 127.0.0.1:8888 I can establish multiple HTTP
connections simultaneously.
- Previous message: Peter: "Re: ssh with diskless machines"
- In reply to: Rahul Gopal: "single/multi threaded?"
- Next in thread: Rahul Gopal: "Re: single/multi threaded?"
- Reply: Rahul Gopal: "Re: single/multi threaded?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|