Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
G
gvfs
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 361
    • Issues 361
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 10
    • Merge Requests 10
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • gvfs
  • Issues
  • #480

Closed
Open
Opened May 25, 2020 by Jeff Schmidt@jpschmidt

GVFS cannot connect to sftp server using TOTP (Time-based One Time Password) hangs then times out

I'm trying to get Nautilus/Files to connect to an sftp server, that prompts for a totp. I'm not sure how to do this. I can connect to the server, and Files prompts me for a password, but then it just hangs, and eventually times out I presume the hang is because it is not expecting the prompt for the TOTP Is there any way to get Files / the underlying GVFS SFTP module to recognize the totp prompt, and prompt the user to provide it?

In this case, I'm using pam_oath for totp, which from the command line, when logging into ssh or sftp, after it prompts for the password, prompts for the totp:

``$ sftp jeff@picard

Password:

One-time password (OATH) for `jeff':``

I have attached a GVFSd log file (per recommendation of #Nautilus IRC channel folks. gvfsd.log

Environment Information:

OS Version: Ubuntu 19.10

Gnome Version: 3.34.2

Files Version: 3.34.1-stable

Edited May 25, 2020 by Jeff Schmidt
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/gvfs#480