Creating a Daemon based sftp client

1

If i were to build an sftp client which launched with logon details, and could then controlled by sending commands to that daemon; would that be ideal way to create an sftp client with disposable credentials?

Joseph Le Brech

Posted 2011-03-18T15:56:15.887

Reputation: 207

What exactly do you mean by "disposable credentials"? – user1686 – 2011-03-18T19:35:14.487

i mean the daemon can only be connected to one server and it waits for commands, but when you are finished you have to tell it to connect again and wait for further commands. – Joseph Le Brech – 2011-03-19T01:28:46.730

Answers

0

I believe such clients already exist:

  • sshfs

    sshfs host:path ~/mnt
    
  • SFTP modules for GNOME's GVFS and KDE's Kio

    gvfs-mount sftp://host/path
    

All of these run as daemons and are controllable through standard operating system functions (read directory, open file, etc.).

user1686

Posted 2011-03-18T15:56:15.887

Reputation: 283 655