RE: automating ssh connection
From: Mark Paulus (mark.paulus_at_mci.com)
Date: 05/04/04
- Previous message: Jeff Davis: "Re: encryption protocols - are there any that are not secure in ssh?"
- In reply to: Bob Rasmussen: "Re: automating ssh connection"
- Next in thread: Dave Howe: "Re: automating ssh connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 04 May 2004 10:44:49 -0600 To: secureshell@securityfocus.com
Am I missing something here, or couldn't he just follow the
template provided in ssh.c? There he could/should see
exactly how complicated this process might be.
-----Original Message-----
From: Bob Rasmussen [mailto:ras@anzio.com]
Sent: Monday, May 03, 2004 1:47 PM
To: Satyanarayana, Dintakurthi
Cc: secureshell@securityfocus.com
Subject: Re: automating ssh connection
On Fri, 30 Apr 2004, Satyanarayana, Dintakurthi wrote:
> I want to open ssh connection to a remote server from
> a c/C++ program. Once the connection is opened, I want
> to exchange data from within the program itself. I
> guess if we have ssh + socket libraries we can do it
> just like opening a tcp socket and using read, write
> calls to get and send data. Does anyone aware of
> socket library that works with SSH ?
> Is there any other alternative that helps in
> establishing ssh connections ? One thing I certainly
> want to do while opening ssh connection is using a
> crypto algorithm (3des/blowfish) of my choice.
> Please suggest any pointers.
First, it would help to know if you are talking about running on a
Unix/Linux system or a Windows system (or something else).
It is not as simple as opening a socket. The authentication and encryption
routines are quite involved.
Your best approach might be to use a forwarded port. That is, have an SSH
connection already in place, with a forwarded port that you can use in your
application.
Regards,
....Bob Rasmussen, President, Rasmussen Software, Inc.
personal e-mail: ras@anzio.com
company e-mail: rsi@anzio.com
voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
- Previous message: Jeff Davis: "Re: encryption protocols - are there any that are not secure in ssh?"
- In reply to: Bob Rasmussen: "Re: automating ssh connection"
- Next in thread: Dave Howe: "Re: automating ssh connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]