Questions tagged [authentication]
Authentication is the process of proving your identity to a computer. It differs from authorization, which is the process of granting certain privileges to someone.
805
questions
1154
votes
25
answers
1.5m
views
How to tell git which private key to use?
ssh has the -i option to tell which private key file to use when authenticating:
-i identity_fileSelects a file from which
the identity (private key) for RSA or DSA authentication is read.
The ...
305
votes
15
answers
375k
views
Too many authentication failures for *username*
I have a hostgator account with ssh access enabled. When trying to upload the generated .pub key file with this command:
rsync -av -e "ssh -p2222" /home/user/.ssh/key.pub [email protected]:.ssh/...
210
votes
9
answers
216k
views
How do I configure SSH so it doesn't try all the identity files automatically?
I have been putting my ssh identity files inside my ~/.ssh/ folder. I have probably about 30 files in there.
When I connect to servers, I will specify the identity file to use with something like
...
137
votes
5
answers
68k
views
Keep GnuPG credentials cached for entire user session
GnuPG can, with gpg-agent, cache access to a private key. How can I keep that cache active for the entire user session?
When I unlock the key for gpg-agent, it only stays cached for a limited time. ...
61
votes
2
answers
64k
views
ssh -o PreferredAuthentications: What's the difference between "password" and "keyboard-interactive"?
Both PreferredAuthentications=password and PreferredAuthentications=keyboard-interactive would prompt for the password, so what's the difference between them?
I Google'd with the keywords ssh ...
33
votes
4
answers
162k
views
How do I use my keyfile to sftp transfer data from one server to another
I cant scp, the other server only takes sftp connections.
Currently, I am trying to do
sftp [email protected]:/files> put -r ~/
-i keyname does not work, just resolves with illegal option -- i....
31
votes
6
answers
140k
views
Passing UNC username and password within a UNC path
Is it possible to pass the UNC username and password within a UNC path?
Similar to how FTP and SMB support this:
smb://user:[email protected]/share
ftp://user:[email protected]/share
I am ...
30
votes
5
answers
29k
views
Connecting Adium to Google Talk with a 2-factor authentication account isn’t working
Anyone else having this problem? After turning on 2-factor authentication on my Google Account I stopped being able to log in through Adium (Mac IM client that uses Pidgin’s libpurple for IM). ...
30
votes
2
answers
63k
views
Private/Public Key Authentication for Windows Remote desktop
Does anything exist for Windows RDP (Remote Desktop Protocol) that is similar to SSH (in Linux) Public/Private key authentication (Instead of leaving normal password authentication open)?
I'm finding ...
29
votes
2
answers
23k
views
Does Firefox support wildcards in NTLM / Negotiate URI's for autologin?
Following this question about Windows Domain Authentication with Firefox, does FF support using wildcards in the URI's? I'm not finding anything where it mentions support either way.
25
votes
1
answer
14k
views
What is a GPG with "authenticate" capability used for?
GnuPG subkeys can be flagged with three kind of capabilities: Sign, Encrypt and Authenticate.
While the first two actions are widely used and documented, the authenticate action is somehow mysterious....
23
votes
6
answers
87k
views
Why does Internet Explorer keep asking me for NTLM credentials in an intranet zone?
Long text, sorry for that. I'm trying to be as specific as possible.
I'm on Windows 7 and I experience a very frustrating Internet Explorer 8 behavior. I'm in a company LAN with some intranet servers ...
22
votes
3
answers
27k
views
Windows Domain Authentication with Firefox
We have many internal web sites on our domain:
a.blah.com
b.bhah.com
c.blah.com
IE authenticates automatically using the currently signed in domain user but fire fox pops up a login box, sometimes ...
19
votes
1
answer
4k
views
Why is the SSH server asking for a password even if I specify a valid key?
I can't set up password-less login on a Ubuntu server. Even if I specify a key, I get prompted for a password.
The same key can correctly log me in another server. So I don't think it's a permission ...
19
votes
5
answers
17k
views
Chrome - Why am I automatically authenticated to a web app even after clearing browser cookies?
I am accessing a web application using Chrome. If I sign out of the app and clear all Chrome history/cookies/etc (even Flash cookies which are now handled by Chrome in the same Clear History area) ...
18
votes
4
answers
73k
views
Mirroring a web site behind a login form
Short version:
I'd like to snap an offline copy of a URL which includes the full HTML+CSS+JS+images and saves them locally, keeping the structure and file content of the original site.
I'm having ...
18
votes
1
answer
520
views
Any way to access StackExchange from a text only browser?
I have a very slow computer and spend most of my time without a graphical environment. StackExchange doesn't let me log in using Links saying that my "request could not be completed because it looks ...
17
votes
4
answers
25k
views
How do I log out with HTTP Basic?
Browsers rarely make it easy to log out of a site once you've logged on with HTTP Basic authentication. How can I do this?
(This form of authentication is rarely used on the public web, but the ...
17
votes
2
answers
6k
views
Multiple http auth details on the same site + chrome save password functionality, is there any way to handle this case?
Google Chrome seems to be saving passwords on a per site basis, but I'm developing a site where I'd like to have different http authentication details depending on the directory accessed AND have ...
16
votes
4
answers
90k
views
Why is Google Chrome not saving proxy username/password?
Is there a way to have Chrome save username/password for proxy servers, so I don't have to type them in every time I start it up?
15
votes
4
answers
199k
views
How do I add a password to a batch file to automatically authenticate?
I'm trying to run xcopy commands in a batch file as an administrator. Is this the correct command and how can I pass the password into it?
runas /noprofile /user:Domain Name\user account
15
votes
2
answers
122k
views
Windows Hello PIN/Fingerprint "This option is currently unavailable"
I am having trouble trying to use Windows Hello. I cannot enable any of its features (Image)
My computer (Windows 10 1903 18362.239) is connected to a domain hosted on my local network. (Server 2016)
...
14
votes
3
answers
27k
views
Windows Authentication with Google Chrome
Does Google Chrome work with Windows Authentication? We have internal websites that use Windows authentication and I'd like Chrome to not have to prompt me every time I access those sites for ...
14
votes
1
answer
21k
views
Let Firefox automatically accept "authentication required" dialogue
When accessing sites at my work I get various "authentication required" dialogues, i.e. from the intranet proxy server. Firefox does remember the username/password but I have to click the dialogue all ...
14
votes
1
answer
2k
views
eCatcher login error (peer not authenticated)
I can no longer login in Talk2M using my good old eCatcher 3.x or 4.x.
I receive one of these error messages:
Written out:
Additional info I/O error while communicating with HTTP server:
sun....
14
votes
1
answer
51k
views
How can I make subversion reset the stored passwords/users and remember my authentication credentials?
Background: I used to have everything working just fine on my fresh install:
$ svn co https://domain:443/ test1
Error validating server certificate for 'https://domain:443':
- The certificate is not ...
14
votes
3
answers
40k
views
Google Chrome proxy settings with Username and Password
I am able to use Google Chrome under Linux Mint behind a proxy. But when the browser starts, each time I have to enter the username and password for the authentication.
Is there any way I can set the ...
13
votes
7
answers
18k
views
Why is MAC-based authentication insecure?
Most wireless routers can use MAC-based authentication as part of their overall security scheme. It seems like a good idea, but I've heard that it is very ineffective, because it's easy to spoof MAC ...
13
votes
3
answers
38k
views
SSH still asks for password after setting up key based authentication
I have successfully created a key based auth for root user from my A machine to my B machine.
Now, I created a new user on B machine, the same as on A machine, let's call him USER. I created a home ...
13
votes
2
answers
9k
views
In Linux, what is /etc/security?
What is this directory for? Is it part of POSIX? Is it part of the Linux Standard Base? Is it enforced by the kernel or is it more of a distro feature? Where can I find further documentation about it?
13
votes
3
answers
18k
views
SSH Agent Forwarding not working even when using `ssh -A`
First of all, I've checked all the following
Agent Forwarding not working
Extra configuration required for ssh-agent forwarding?
SSH Agent Forwarding Not Working
https://serverfault.com/questions/...
13
votes
5
answers
14k
views
Google chrome proxy authentication dialogue timeout
I am on a network that uses LDAP proxy for authentication based on a username and password.
Whenever I start Google Chrome, it pops up with a proxy authentication dialogue, but the dialogue ...
12
votes
8
answers
125k
views
Disconnected: no supported authentication methods available
I have the same exact problem described in this thread, but the answer accepted there is not the right one for me, because the user's home directory is local.
I think that I configured everything ...
11
votes
4
answers
34k
views
How to create a Windows 7 fileshare that requires NO authentication
This almost seems like a silly question, and yet I can't find the combination to keep the safe open.
I am trying to create a fileshare on a Windows 7 Pro workstation. I want NO authentication prompts....
11
votes
5
answers
19k
views
PuTTY authentication equivalent on Mac OS X?
On my Windows development machine, I use Pageant with a secret key to authenticate with an SVN server.
I want to know: What's the equivalent Mac process for doing this? Pageant isn't ported, how do I ...
11
votes
3
answers
8k
views
How does ssh choose the correct key to use?
How does ssh-agent understand which key should it use for which remote server?
I've came across different questions and posts that touches this topic somehow, but it still remain unclear to me.
What ...
11
votes
1
answer
13k
views
Using longer passwords with VNC?
tightvncserver limits VNC passwords to 8 characters, and even truncates them if one tries to enter a longer password.
My understanding is that this is (was?) due to compatibility issues, from what I ...
11
votes
2
answers
19k
views
Can I get Google Authenticator as a stand-alone hardware dongle?
I'm setting up Two-Factor Authentication for our small office that will be used to log in to the corporate web site. The TFA is used via the Google Authenticator app that works great, except for a ...
10
votes
8
answers
36k
views
How can I provide a SSH password to SVN on the command line?
In my case, I want to do a SVN checkout:
svn co svn+ssh://10.106.191.164/home/svn/shproject
However, I want to have the password in that one line, so that it doesn't pop up.
10
votes
2
answers
33k
views
How do I send a digest auth request using curl?
While searching for a guide I found this example on Wikipedia
GET /dir/index.html HTTP/1.0
Host: localhost
Authorization: Digest username="Mufasa", realm="[email protected]", ...
10
votes
1
answer
5k
views
Why do we need `required` when we have `requisite` in `PAM`?
I was wondering why do we need required in PAM when we have requisite. I know that required will allow to keep going through auth stack, but the authentication process will fail anyway finally. So why ...
10
votes
1
answer
9k
views
How do I configure NTLM authentication in Firefox on Linux?
Our IT department have NTLM deployed through the intranet servers.
I've set network.automatic-ntlm-auth.trusted-uris value in Firefox on some of the Windows machines and that works fine.
However ...
9
votes
3
answers
17k
views
'Server refused our key' upon attempted connection to Windows Server
I'm attempting to use PuTTY to securely connect my remote desktop from my laptop to my desktop computer, and so far I have been successful in tunneling through the proper ports WITHOUT A KEY, just by ...
9
votes
2
answers
33k
views
OpenSSH server: how to configure keyboard-interactive authentication
How can I configure the OpenSSH server (on Ubuntu) to allow keyboard-interactive but not password authentication?
I know that public-key-authentication is the preferred one, but I want to test a user ...
9
votes
1
answer
8k
views
Use custom SSH authentication mechanism (OpenSSH)
I have a collection of servers (Debian/Ubuntu) for which I need to create a custom ssh authentication mechanism.
I found a couple of 'same-ish' examples for reference with Duo and Authy. They are ...
9
votes
3
answers
3k
views
Three-step authentication?
I'm using Ubuntu.
I'm just wondering if it's possible to have libpam-google-authenticator (which lets you log in using a code generated by your phone) AND certificate authentication set up to work ...
9
votes
5
answers
22k
views
How to authenticate to a VM using Vagrant up?
Authentication failure during Vagrant Up, while vagrant ssh and ssh vagrant@localhost -p2222 works
I would like to execute a shell script using Vagrant at boot. Vagrant is unable to Authenticate, ...
9
votes
1
answer
42k
views
How does Windows authenticate domain users without a network connection?
If you have logged on to a Windows machine as a domain user at least once, you can logon to that machine again even if the machine no longer has a network connection.
How does this work? I assume ...
9
votes
1
answer
26k
views
getent passwd doesn't work; CentOS 7 and SSSD LDAP authentication
I installed CentOS 7 on a brand new server. All my servers get end user authentication through LDAPS on various system as RHEL5, Debian, and Solaris. I noticed there is a new layer on CentOS 7 which ...
9
votes
2
answers
11k
views
How can I instruct curl to reuse credentials after it followed a redirect?
I know that curl can follow redirects (the -L argument), and I know that I can provide credentials to a request (-u username:password), but I want to use both all the way down the redirect chain.
How ...