As i noticed, there's no built-in facility
for working with SFTP in DotNet. So, i'd
like to learn how to build that up. When i
went googling for knowledge, i only get a
ton of hits on tutorials for specific,
already existing packages.
The problem is that i'd like to learn how
set up such a communication myself. Any
pointers? (Please note that googling for
"c# sftp ssh tutorial" won't give you much
joy, sadly...)
--
Regards
Konrad Viltersten
----------------------------------------
May all spammers die an agonizing death;
have no burial places; their souls be
chased by demons in Gehenna from one room
to another for all eternity and beyond. 7 12274
First result for "C# SSH library":
http://www.codeproject.com/KB/IP/sharpssh.aspx
HTH,
Mike
Hmm... I'l try that right away, of course,
and, while being thankful for the help, i
can't stop wondering why you omitted "SFTP"
in your search. Is "SSH" and "SFTP"
equivalent terms?
--
Regards
Konrad Viltersten
----------------------------------------
May all spammers die an agonizing death;
have no burial places; their souls be
chased by demons in Gehenna from one room
to another for all eternity and beyond.
"Michael B. Trausch" <mi**@trausch.u sskrev i meddelandet
news:2008101701 5836.3e26bd46@z est...
Is "SSH" and "SFTP" equivalent terms?
Related, certainly: SFTP is FTP over SSH; FTPS is FTP over SSL.
Marc
>>First result for "C# SSH library":
>>http://www.codeproject.com/KB/IP/sharpssh.aspx HTH, Mike
Hmm... I'l try that right away, of course, and, while being thankful for the help, i can't stop wondering why you omitted "SFTP" in your search. Is "SSH" and "SFTP" equivalent terms?
SSH is a transport mechanism, which can do secure
remote shells (a replacement for telnet/rsh, and
probably the most popular application of the SSH
protocol), and it has two more-or-less
"subprotoco ls," SCP (replaces rcp) and SFTP
(replaces FTP and is designed for more human-based
interaction). SSH can also tunnel arbitrary
information between machines for anything that
isn't inherently secure by way of SSL or some
other form of encryption mechanism.
SCP is more tightly tethered to SSH, while SFTP can
be used over other secure protocols. See the
Wikipedia articles covering the topics for an
overview: http://en.wikipedia.org/wiki/Secure_Shell http://en.wikipedia.org/wiki/SSH_file_transfer_protocol http://en.wikipedia.org/wiki/Secure_copy
Thanks. I'll need to keep looking though. The
example you've found is only a wrapper for an
already existing JSSH-library, while i'm aiming
at getting it done myself.
Nevertheless, thanks a lot.
--
Regards
Konrad Viltersten
----------------------------------------
May all spammers die an agonizing death;
have no burial places; their souls be
chased by demons in Gehenna from one room
to another for all eternity and beyond.
"Michael B. Trausch" <mi**@trausch.u sskrev i meddelandet
news:2008101702 3411.5355d77d@z est...
On 10/16/2008 11:21 PM, K Viltersten wrote:
>First result for "C# SSH library": http://www.codeproject.com/KB/IP/sharpssh.aspx HTH, Mike
Hmm... I'l try that right away, of course,
and, while being thankful for the help, i
can't stop wondering why you omitted "SFTP"
in your search. Is "SSH" and "SFTP"
equivalent terms?
SFTP is FTP over SSH...
FTPS is FTP + SSL...
--
Michael J. Ryan - tracker1(at)the roughnecks(dot) net - www.theroughnecks.net
icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email)
.... Immortality lies not in the things you leave behind, but in the people
your life has touched.
On 10/16/2008 11:33 PM, Marc Gravell wrote:
>Is "SSH" and "SFTP" equivalent terms?
Related, certainly: SFTP is FTP over SSH; FTPS is FTP over SSL.
Marc
What he said.. :)
--
Michael J. Ryan - tracker1(at)the roughnecks(dot) net - www.theroughnecks.net
icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email)
.... FRA #094: Females and finances don't mix.
On Oct 17, 3:42*pm, "K Viltersten" <t...@vilterste n.comwrote:
As i noticed, there's no built-in facility
for working withSFTPin DotNet. So, i'd
like to learn how to build that up. When i
went googling for knowledge, i only get a
ton of hits on tutorials for specific,
already existing packages.
As others have said SFTP is a subsystem of SSH. You establish an SSH
connection, and SFTP consists of a series
of messages encapsulated within SSH messages.
It is a pretty major effort actually implementing it yourself.
It sounds like you may not be interested in commercial packages, but
just in case ... take a look at edtFTPnet/PRO http://www.enterprisedt.com/products.../overview.html
It supports both SFTP and FTPS - you can easily swap between the two
protocols.
regards
Bruce Blackshaw
>Thanks. I'll need to keep looking though. The
>example you've found is only a wrapper for an already existing JSSH-library, while i'm aiming at getting it done myself.
Nevertheless , thanks a lot.
Uhm.
Did you not look at the source code?
It's a *port* of an SSH library from Java to C#.
Of course i looked at the code. Perhaps i was too
hasty in my judgement but what i understood was
that it was merely a wrapper for the Java
version. Maybe i should check that out again...
It isn't a wrapper. From the site:
"After experimenting with an open source Java
SSH library called JSch I decided to try and
port it to C# just for the sake of exercise. The
result is the attached sharpSsh library and this
article which explains how to use it."
An updated version of the SharpSSH library is
available on the author's Web site, as well: http://www.tamirgal.com/home/dev.aspx?Item=sharpSsh
All right. I guess i got scared and/or confused.
I'll look into that again. Thanks.
By the way, what's up with your mail client? It
seems that all the answers come as attachments,
instead of plainly seeable text. Perhaps it's MY
mail client that sucks...
--
Regards
Konrad Viltersten
--------------------------------
sleep - a substitute for coffee for the poor
ambition - lack of sense to be lazy This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gus M. Creces |
last post by:
Hi...
I'm looking for some information, technical, white paper - whatever - on how
SFTP works.
I need to add SFTP capabilities into an app's present FTP capabilities.
I'm not really looking for a 3rd party solution, like a plug in.
Would prefer to write the code in C++ or C#.
Just haven't found much technical information on the topic.
...
|
by: Luke Vogel |
last post by:
I've looked everywhere ...
Is there anywhere that has the source code for a SFTP client that I can
modify for my needs?
Please?
--
Regards Luke.
-----
|
by: Bernhard Günther |
last post by:
Hello friends of php,
PhP-Version is 4 on a FreeBSD-System using apache.
Got a problem using ssh2.sftp.
Installed correctly (libssh2, ssh2.so-module).
Connecting with publickey works, sftp subsystem-connect works too:
|
by: RadhakrishnanR |
last post by:
How i can implement SFTP in VB.
Scenario is I want to take file from SFTP server, then after some process with the file , file will be moved to database..
Our requirement is very clear that how to use SFTP in VB, currently we are using the OS-native FTP functionality, for SFTP there is no OS-native functionality. And we are not using any...
|
by: jcor |
last post by:
Hi,
I'm using Ubuntu 7.04.
I'm writing a sript that sends files via ftp for several destinations.
So far I used Net::FTP and it worked fine.
My problem is that I need to send files via SFTP (SSH2). I've been trying to install Net::SFTP with 'sudo perl -MCPAN -e "install NET::SFTP' but I can't. It stops in the middle of the installation:
...
| |
by: arkascha |
last post by:
Helloooo everyone,
I have a problem with a small solution I made some three or four years ago.
Worked flawless until deployed onto newer machines now and guess what, I
cannot fix it. Maybe some guru here can give this a look and tell a stupid
newbie like me what I miss...
The strategy is to have some kind of a shell-like wrapper and work...
|
by: sa6113 |
last post by:
I want to use sftp from paramiko to copy a file from a windows machine to a
Linux in the network, I use this code :
host = "LinuxComputerName" (or its Ip)
port = 22
transport = paramiko.Transport((host, port))
password = "LinuxComputerPassword"
username = "LinuxComputerUserName"
transport.connect(username = username, password = password)
|
by: sivashanmugam |
last post by:
Hi Friends,
I tried to send some zips from local to remote location but the transfer is not sucess i can transfer the zips partially can some one assist me how to make it
as sucess
i had used the below code
#!/bin/sh
/usr/local/bin/expect <<EOF
|
by: ndedhia1 |
last post by:
I was hoping you could help me out with ftp vs sftp.
Below is a method that I have that I call to ftp files from one unix box
to another in house, but soon, we will have to ftp from here to NY so we
have to start using sftp. I know that we have open ssh on our unix
boxes but was wondering how different the syntax would be, going from
ftp to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |