Skip to main content

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.

Filter by
Sorted by
Tagged with
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 ...
jrdioko's user avatar
  • 12.9k
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/...
Gabriel's user avatar
  • 3,685
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 ...
cwd's user avatar
  • 18.2k
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. ...
bignose's user avatar
  • 3,166
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 ...
su.root's user avatar
  • 1,000
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....
Jay's user avatar
  • 557
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 ...
Kvad's user avatar
  • 541
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). ...
Robin Whittleton's user avatar
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 ...
Lightning77's user avatar
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.
squillman's user avatar
  • 7,816
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....
Claudio Floreani's user avatar
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 ...
Tomalak's user avatar
  • 1,173
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 ...
Danielb's user avatar
  • 629
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 ...
Sifro's user avatar
  • 309
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) ...
Howiecamp's user avatar
  • 1,578
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 ...
orip's user avatar
  • 385
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 ...
technillogue's user avatar
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 ...
Leif Arne Storset's user avatar
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 ...
Mahn's user avatar
  • 862
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?
Kevin's user avatar
  • 595
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
joe's user avatar
  • 151
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) ...
TMR's user avatar
  • 153
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 ...
SitWalkStand's user avatar
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 ...
Frank Meulenaar's user avatar
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....
Serge Wautier's user avatar
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 ...
Nicolas Dumazet's user avatar
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 ...
Antriksha Somani's user avatar
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 ...
stalepretzel's user avatar
  • 1,176
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 ...
tratto's user avatar
  • 311
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?
BestGuestNA's user avatar
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/...
xpt's user avatar
  • 8,821
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 ...
Nihar Sarangi's user avatar
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 ...
WinWin's user avatar
  • 980
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....
tcv's user avatar
  • 553
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 ...
Joseph Weissman's user avatar
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 ...
volk's user avatar
  • 213
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 ...
P A N's user avatar
  • 1,487
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 ...
MikeF's user avatar
  • 578
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.
Alex's user avatar
  • 2,481
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]", ...
mina nageh's user avatar
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 ...
Mohammed Noureldin's user avatar
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 ...
Gordon Wrigley's user avatar
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 ...
Christopher Walters's user avatar
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 ...
Mike L.'s user avatar
  • 5,797
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 ...
tarka's user avatar
  • 205
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 ...
Jesse W's user avatar
  • 301
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, ...
030's user avatar
  • 2,718
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 ...
bobbyalex's user avatar
  • 503
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 ...
dubis's user avatar
  • 246
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 ...
karatedog's user avatar
  • 827

1
2 3 4 5
17