Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
What exactly do you mean by "disposable credentials"? –  grawity Mar 18 '11 at 19:35
    
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 Mar 19 '11 at 1:28

1 Answer 1

up vote 0 down vote accepted

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.).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.