Programmatic interface to ssh
ux9i_at_yahoo.com
Date: 07/20/05
- Next message: Ben Harris: "Re: Programmatic interface to ssh"
- Previous message: jayjwa: "Re: public key authentication"
- Next in thread: Ben Harris: "Re: Programmatic interface to ssh"
- Reply: Ben Harris: "Re: Programmatic interface to ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 20 Jul 2005 08:08:09 -0700
I'm modifying a program that previously used a telnet connection to
communicate to a server. The program had control of input and output
to the telnet session, as if a user was typing at a command prompt. In
general a program using telnet is sometimes called an MML or CLI
interface [man-machine language or command-line interface].
My mission is to replace telnet with ssh. I have searched this group
and the OpenSSH and OpenSSL sites for some time and there seems to be
no library that allows a program to access an ssh shell.
One idea I had was to pore over Putty code to see how the Putty program
uses OpenSSL or OpenSSH libraries to achieve a command-line interface,
and figure out how to rewire it so the program has control of input and
output.
I had hoped that when the program runs it could use the ~/.ssh
directory files or else fallback to password login to the remote
server.
Is there a good way to program to ssh? There seems to be no library
for a program to do this sort of thing.
- Next message: Ben Harris: "Re: Programmatic interface to ssh"
- Previous message: jayjwa: "Re: public key authentication"
- Next in thread: Ben Harris: "Re: Programmatic interface to ssh"
- Reply: Ben Harris: "Re: Programmatic interface to ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|