Monday, September 22, 2008

Using sharpSSH (C#) to write/customize your own sshclient

or even winscp (open source), or putty (is it possible?)

I was trying to do many investigations on SSH protocol, or some tools/ways like JRE. The purpose to do a remote command-line, and file transfer on all platforms: Windows, Linux, Unix, etc.

1. The first approach is to implement JRE application, but we need to maintain it by the time

2. Try to implement again with C# (and Mono) stupid way

3. Try to implement sharpSSH

Actually, I knew many way/tools to do that, but by the time, i forgot. Now, i'm going back. And i was tried PUTTY command-line family, and it was so impressive

Beside doing: compatibility test, between SSH protocol version, we need to do some test for sheel specification stuff (windows shell, cmd.exe, command.exe, bash, csh shell, etc.) convention between Windows, Linux

plink, pscp, psftp, so great! to do file transfer and remote command-line

That i was told about "client-side"

And here is server-side, for Unix, we used OS-standard, default sshd packages. But on Windows we used openSSH package, or copssh, the reason is, sometime sharpSsh cannot work with openSSH but copssh

Process special character like "\", "/", """, "'", "\\"

We are thinking about Cygwin as Linux env. for another linux-like ssh server

2 comments:

Software Development said...

Chào anh , bài này của anh post lâu rồi không bit anh còn theo dõi hay không nhưng cho em hỏi :

Em đang viết 1 ứng dụng Winform C# để Remote Linux Server , đọc đc bài viết của anh thấy sharpSSH có thể giải quyết đc vấn đề của em nhưng không biết thằng này là Open Source hay Commercial. Em cũng đang test thử, có gì mong chia sẽ kinh nghiệm. Thanks

Unknown said...

Chào bạn, sharpSSH là open-source... nhưng rất tiếc là mình cũng lâu rồi nên không nhớ gì hết về chi tiết

Digital Inspiration Technology Guide

Change the world with your passion