473,387 Members | 1,897 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to use the ssh protocol in c++

Hi all

Is there any package in C++ for using the ssh protocol ?

I need to create an appliction which can connect to a server using the
ssh protocol and to communicate with him. I do not want to use
secureCRT because I do not want to give the user full control. I just
want to build some series of commands.

Thanks
Yaron
Jul 19 '05 #1
2 12520
"yaron" <c_*****@hotmail.com> wrote...
Is there any package in C++ for using the ssh protocol ?
There are no "packages" in C++. You must be confusing it with
Java(tm).
I need to create an appliction which can connect to a server using the
ssh protocol and to communicate with him. I do not want to use
secureCRT because I do not want to give the user full control. I just
want to build some series of commands.


Network programming is OS-specific. You should consider asking
about these in a newsgroup that deals with your OS.

Alternatively, take a look at the "Available C++ Libraries FAQ"
posted in this newsgroup monthly by Nikki Locke. It's a huge
list of all kinds of libraries, maintained on the Web, the link
is in the postings.

Victor
Jul 19 '05 #2
On Tue, 28 Oct 2003 10:58:27 -0800, yaron wrote:
Hi all

Is there any package in C++ for using the ssh protocol ?

I need to create an appliction which can connect to a server using the
ssh protocol and to communicate with him. I do not want to use
secureCRT because I do not want to give the user full control. I just
want to build some series of commands.

Thanks
Yaron

You might want to take a look at OpenSSH :
http://www.openssh.org/

i think it is coed in C, but You will still be able to use it from a C++
app. It is fully compatible with SSH1 and SSH2. It works flawlessly with
the commercial version of SSH (i have used OpenSSH to connect with a
commercial SSH server...).

i,m not sure if it contains libraries intended to be utilized by other
apps, but if it does not, all the code you need to create such libraries
is right there...

OpenSSH is released under a BSD type license (It was started by the
OpenBSD project). It runs on most Un*X type systems, and with Cygwin, it
should also run on Microsoft systems...
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

34
by: jblazi | last post by:
Let us assume I have a list like and would like to transoform it into the string '{1,2},{7,8},{12,13}' Which is the simplest way of achiebing this? (The list is in fact much longer and...
1
by: Dom Leonard | last post by:
Hi all, I occasionally use the javascript protocol in window.open to retrieve a window property of the opener for use as HTML source: window.htmlSrc="<html>...blah ....<\/html>";...
6
by: Charles Law | last post by:
This is going to seem like a basic OO question, but it comes up and bites me every now and again. Suppose we have a multi-tiered protocol to implement, what is the logical, OO way to design the...
0
by: shoorik | last post by:
Folks, SiteID is an exciting new protocol that I've been planning and designing during the past couple of months. It's currently in early release, but I've been hoping to make somewhat of a...
5
by: Fatih BOY | last post by:
Hi, How can i register my own protocol like app-help://somepage.html which searchs typed files under a predefined folder (like document folder under installation root) ? Fatih BOY
12
by: Laszlo Zsolt Nagy | last post by:
Hello, I would like to develop a new network protocol, where the server and the clients are Python programs. I think to be effective, I need to use TCP_NODELAY, and manually buffered transfers....
4
by: Bob Badger | last post by:
Hi, Simple question (although I guess with a complicated answer). Is HTTP an async protocol? For instance, if I send a message to a c# webservice via http what is the protocol actually doing? ...
1
by: Benry | last post by:
Hi guys. I hope I can discuss Twisted here. If not, direct me to the correct place please. My question(s): I'm working on a custom network protocol (application layer in TCP/IP model) for a...
6
by: tycoonajayverma | last post by:
Hi, Can some one help me out for these following errors 24-OCT-2006 11:52:03 * (CONNECT_DATA=(SID=pro1)(CID=(PROGRAM=)(HOST=report2)(USER=crystal))) *...
4
by: Pool | last post by:
I tried to connect DB2 (Sitting in Unix server at my client location) using Db2 connect V8. I am getting the following error message. I tried all the possible options BUt the error is same.. See each...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.