Lurker News

Comments (245) 68 threads

Earlier comments
sarciszewski1 reply#
It just closes my connection.

    root@paragonie:~# ssh whoami.filippo.io
    Connection to whoami.filippo.io closed.
I'm not sure what I'm supposed to be seeing.
bmohlenhoff2 replies#
...presumably it doesn't allow root logins via SSH
sarciszewski1 reply#
Oh, duh, username!
woof4 replies#
Why on earth are you logged in as root? man sudo

Continue this thread — 4 replies

bonif#
Same for me with non-root user

iMac:~ bonf$ ssh whoami.filippo.io Connection to whoami.filippo.io closed.

robryk#
It seems that I get no output because I have an SSH certificate:

  robryk@sharya-rana ~> ssh -v whoami.filippo.io
  <...>
  debug1: Next authentication method: publickey
  debug1: Offering RSA public key: /home/robryk/.ssh/id_rsa
  debug1: Authentications that can continue: publickey,keyboard-interactive
  debug1: Offering RSA-CERT public key: /home/robryk/.ssh/id_rsa
  Connection closed by 178.32.139.168
dadrian1 reply#
A good reminder that your public keys are, in fact, public. For most people, this is probably a good thing, unless you're specifically trying to hide your identity.
gurkendoktor#
But I wish anonymity was the default, not something I have to enable as a special case... :(
rdl1 reply#
I use different keypairs for different trust domains. (also makes it easier to hand over access when you quit a job.)

SSH keys are actually pretty horrible from a security perspective; no expiration, generally held in software, etc. And without a lot of work, single-factor. I love the ssh security model of being pretty good and better than telnet for everything (which it ~fully displaced, unlike https vs. http), but client keys are one of the weak points.

eru2 replies#
> And without a lot of work, single-factor.

Wouldn't a passphrase be a second factor?
By the way, we use a security fob at work for that. Seems to work fairly well. The private key never leaves the fob, you have to press a button to sign anything, and every once in a while you have to enter your passphrase.

rdl1 reply#
passphrase is set/unset locally and not communicated to the server if it is present/used/etc. Could be disabled. along with various other things.

HW token with ssh key inside is probably the best. The annoying thing is devices w/o USB. For iOS devices and android devices which support it it's probably better to just use the HW sec features. Something which did bt 4.0le and maybe had a single local LED and button would be better still.

eru1 reply#
> The annoying thing is devices w/o USB.

Some new tokens use NFC.

Continue this thread — 1 reply

ersii1 reply#
What hardware token (security fob) are you guys using? And is it working well?
eru#
It's called gnubby internally. There's some public information at https://sites.google.com/site/oauthgoog/gnubby

There are supplied by yubico and look like the ones at https://www.yubico.com/applications/fido/ . I am not sure how much we hacked them up internally, if at all.
The newer small ones work really well. You just leave them permanently in a USB port. Every once in a while you have to enter your passphrase to keep them activated (eg reboot), normally you only need to touch them to sign / log-in. The requirement for touching comes from the fob itself, and can't be overridden by our computer.
For most operations you only need your gnubby. For some more sensitive ones, we require password + gnubby touch. (You are allowed to reuse your password as the gnubby activation password.)
At first I thought that leaving the gnubby permanently in the PC would weaken security, but essentially it just means that your PC (including gnubby) is your second factor.
You can have more than one gnubby. We recommend one per computer you are using. We allow falling back to the Google Authenticator app on your phone. (It's less convenient, and potentially phishable, but otherwise secure enough.)
The earlier fobs were technically usb keyboards and were just outputting a six digit string when touched (equivalent in security to the app). The new fobs do a little cryptographic dance with the website, and are thus more secure.
From my user's point of view, it's working very well. It saves me typing my password every two minutes. And the security guys assure me it's more secure, too.

Load more comments