Results 1 to 6 of 6

Thread: SCP after installing Google Authenticator - Doesn't work!

  1. #1
    Join Date
    Feb 2005
    Location
    Cleveland, OH
    Beans
    232
    Distro
    Ubuntu 14.04 Trusty Tahr

    SCP after installing Google Authenticator - Doesn't work!

    I set up the Google Authenticator for 2 factor authentication on my server about a month ago. It's working great for protecting my login, but it is also blocking my methods of remote file transfers. I can no longer use SCP to copy files off of my server when using the password / 2 factor login (it MIGHT work with a public / private key, but I don't want to put that on my publicly accessible PC), either from the terminal or from Gnome's file manager net connection.

    Is there any way I can keep using Google Authenticator, but get my SCP access back? I think the SCP programs don't support the 2 factor authentication...

  2. #2
    Join Date
    Jul 2011
    Location
    Off the grid
    Beans
    119
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: SCP after installing Google Authenticator - Doesn't work!

    Which SCP programs doesn't work?

    Back when I used GA, I'm positive that WinSCP worked (Had to use Windows sometimes...) and can't recall having problems with the build in SCP program on Ubuntu.... However, something tells me that Filezilla doesn't workshop with GA...
    Last edited by cariboo; June 2nd, 2013 at 08:39 PM. Reason: fixed Windows spelling error

  3. #3
    Join Date
    Feb 2005
    Location
    Cleveland, OH
    Beans
    232
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: SCP after installing Google Authenticator - Doesn't work!

    After my post, I did try WinSCP which worked ok (though I had to run it from my windows VM). I'll have to check if the standard SCP command on centos can connect to my Ubuntu server with GA active...

  4. #4
    Join Date
    Feb 2005
    Location
    Cleveland, OH
    Beans
    232
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: SCP after installing Google Authenticator - Doesn't work!

    Looks like it works with FileZilla as well... but I think it re-prompts for authentication for each file transfer. I'll see if it happens after this file transfer completes.

    Edit: Yep, I started a second transfer while the first was still going, and it re-prompts for password / authentication code. Oh well, it's better than CLI!
    Last edited by talz13; July 15th, 2013 at 01:44 PM.

  5. #5
    Join Date
    Apr 2006
    Beans
    2

    Re: SCP after installing Google Authenticator - Doesn't work!

    I prefer to scp on the command line most of the time. I had trouble getting it to work until I included my ssh key in the request like this: scp -i ~/id_rsa.pub user@server:filename .

  6. #6
    Join Date
    Feb 2005
    Location
    Cleveland, OH
    Beans
    232
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: SCP after installing Google Authenticator - Doesn't work!

    Quote Originally Posted by k3n View Post
    I prefer to scp on the command line most of the time. I had trouble getting it to work until I included my ssh key in the request like this: scp -i ~/id_rsa.pub user@server:filename .
    I did eventually start using a public key auth with this connection, and it is working well... but it now bypasses the google authenticator (as I have it configured)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •