secret code for ssh

Advanced feature discussion, beta programs and unsupported "Labs" features.
2 posts Page 1 of 1
by entity » Mon Jan 20, 2020 7:09 pm
Trying to log in to sh.sonic.net, which I haven't done for several years now.
At some point, I had 2-step verification with Google Authenticator enabled, but I disabled it earlier today. Still:

kevin@nuala ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa
kevin@nuala ~ $ ssh -V
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
kevin@nuala ~ $ ssh entity@sh.sonic.net
secret token:

What secret token? Why?
by scott » Tue Jan 21, 2020 1:41 pm
entity wrote:
Trying to log in to sh.sonic.net, which I haven't done for several years now.
At some point, I had 2-step verification with Google Authenticator enabled, but I disabled it earlier today. Still:

kevin@nuala ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19.1 Tessa
Release: 19.1
Codename: tessa
kevin@nuala ~ $ ssh -V
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
kevin@nuala ~ $ ssh entity@sh.sonic.net
secret token:

What secret token? Why?


It's asking for the Google authenticator code.

This is because your GA data is stored in a different place on the shell server. After removing the dot file for the GA, you have to run "sync_google_authenticator.sh".

I now realize that there is a chicken-and-egg problem here, if you can't log in (lost your GA key or whatever), then you can't run that script. I'm going to think about this -- might make a page where someone logs in and hits "refresh shell configuration" to straighten out that problem, among others.

I'm removed your GA dot files, you should be good to go now.
2 posts Page 1 of 1

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 487 on Tue May 05, 2020 2:07 pm

Users browsing this forum: No registered users and 1 guest