Hey .. could anyone please help me about how to make sftp or ssh server .... I want to use jsch or sftp library and its written everywhere that it connects to sssh/sftp sever... but not getting anything about how to make the server part.... ???
Why do you want to do this? There are SSH servers for all known platforms, nearly all open source and free.
Most of the time, there is no real sftp server, its just a normal FTP server that you access using SSH.
ssh is a service that uses strong crypto. It is not easy to write code that properly uses strong crypto. It is, in fact, easy to write code that poorly uses strong crypto and is full of holes that are worse than using no security -- because they provide the appearance and feel of security without actually providing anything.
Joined: Aug 03, 2012
I just want to transfer file from one system to another using jsch or sftp library.. i dont understand do i need to make server side coding for this because its given everywhere that it connects to ssh or sftp server.. ?? or just i have to do client side only.. i am making chat project using socket programming..the chat is going fine.. but i want to transfer files also... any idea.. correct me if am going in wrong direction.. ??
You don't have to program anything on the server side. As Pat has been trying to tell you, if you can transfer the files to the intended servers manually by using utilities like scp or sftp, then you have everything you need on the servers. Just write your client code to transfer the files.