The key-authentication tag has no wiki summary.
2
votes
2answers
58 views
Automatically unlock keys on a remote host accessed via SSH
On my local PC my ssh keys are automatically unlocked on login. From there I access via ssh (with key authentication) a server that have stored the same keys I have in the client. I'd like to unlock ...
0
votes
1answer
39 views
ssh private key stops accepting my passphrase
When booting my laptop today I found that ssh (openssh) simply refuses to accept my passphrase when reading my private key. My only idea of how that could've happened is if the HDD has somehow ...
0
votes
1answer
130 views
Unable to login to my server using ssh
Yesterday I was migrating to my new server, needed to use rsync, I created a RSA key, so that rsync could connect, I saw an error that says add to trusted key in location x I didn't have that location ...
3
votes
3answers
92 views
Must I store a private key in a file?
I have a db-driven application that needs to communicate with another server via ssh. The web app can generate a keypair and give the user the pubkey, or it can accept the unencrypted private key in a ...
2
votes
2answers
361 views
SSHFS specify key
I've got a question that I've not been able to find an answer for. I have two computers, both of which run Ubuntu Linux 12.04. I have set up my first computer ("home") to be able to SSH into my second ...
2
votes
1answer
93 views
How to list keys added to ssh-agent with ssh-add?
How and where can I check what keys have been added with ssh-add to my ssh-agent ?
3
votes
1answer
60 views
How to point to ssh folder with private keys to automatically choose one?
I would like to be able to use
ssh user@host
without the -i identity_rsa_or_else_private_key_file . Is there a place somewhere in ssh configs where I can point where are the private keys located ...
1
vote
1answer
633 views
SSH publickey works for root but not user [duplicate]
Possible Duplicate:
Why am I still getting a password prompt with ssh with public key authentication?
I'm setting up a remote server. The sshd is configured to use publickey only. There ...
1
vote
1answer
103 views
How to export a private PGP email key
I have made a keypair for my email address using gnupg. I thought that I should probably keep a backup of it so that if I lose my desktop computer I can continue using the same key.
Is this the ...
0
votes
2answers
83 views
public key authentification doesn't pass, why?
I'm trying to connect to Server with ssh and id_rsa key. That key is only key in authorized_keys (just added with ssh-copy-id)
When i do connect, server ask doesnt end with keys but always ask for ...
2
votes
2answers
346 views
SSH public key login: two different keys and SSH_AUTH_SOCK behaviour
A user (user1) on an Ubuntu 12.04 desktop has two SSH RSA keys configured: ~/.ssh/id_rsa and ~/.ssh/id_rsa1 (and .pub files). Both public keys are configured in the authorised keys on the server's ...
4
votes
1answer
187 views
Force pubkey-auth user to set password at first login
When I create a new user account I ask users to send me a public key, and want to force users to set the password the first time they log in with keypair authentication. If I create an account with an ...
7
votes
1answer
275 views
Given a private SSH key, how do I recover my public key?
I've somehow lost my id_rsa.pub file. I still have my id_rsa file. How do I recover the public key from the private key?
(This question came up after ssh-copy-id was reporting "ERROR: No identities ...
2
votes
2answers
251 views
Use SSH key authentification with custom user $HOME
I have some users which have different $HOME directories than /home/...
The user homes are under /pkg/homeand /pkg owner is a different user but all users have group access to /pkg. But it seems ...
0
votes
1answer
267 views
Deleted the authorized_keys file and got into a problem
I was trying to send files from machine A to machine B.
For that, I created a public-private key pair using ssh-keygen -t rsa in machine A. Then I sent the id_rsa.pub file to machine B and I added ...
2
votes
1answer
278 views
Is it *really* possible to directly steal a private key if it uses no passphrase?
I've read in various places, such as in this question that using an ssh key pair without a passphrase allows attackers to steal your private key if they gain access to your account. I assumed that by ...
5
votes
1answer
212 views
Automated ssh login with passphrase?
Logging onto a machine over ssh typically requires a password to be entered before access is granted. Alternatively, a key/certificate (without a passphrase) can be installed onto the remote machine ...
1
vote
2answers
126 views
passphrase for key required while copying a file
I usually would get a prompt for a password but this time my terminal is asking for a passphrase for key.
rcihp145:qa1wrk13:/qa1users1/rgs/test/qa1wrk13/scripts>scp -p ...
6
votes
3answers
328 views
Send an email any time an SSH key is used
I have about 30 nearly-identical CentOS 6 servers that I need to be able to push out updated config files automatically using an rsa key to log in as root. Usually this will just be rsync, but ...
3
votes
2answers
2k views
SSH key-based authentication: known_hosts vs authorized_keys
I read about setting up ssh keys in Linux and have some questions. Correct me if I'm wrong…
Let's say host tr-lgto wants to connect to host tr-mdm using ssh. If we want to be sure that it's the real ...
1
vote
1answer
168 views
Re-install ssh-keygen on unix/mac
Something is wrong with the way my Mac generates ssh keys. This has been the second time where I've created a key with ssh-keygen -t rsa. When I paste the created id_rsa.pub to use in a connecting ...
14
votes
8answers
21k views
Why am I still getting a password prompt with ssh with public key authentication?
I'm working from the URL I found here:
http://jaybyjayfresh.com/2009/02/04/logging-in-without-a-password-certificates-ssh/
My ssh client is Ubuntu 64 bit 11.10 desktop and my server is Centos 6.2 64 ...
0
votes
1answer
2k views
SSH asking for passphrase on public key with no passphrase set
I have been using public key authentication on my servers for a while now, but I am experiencing issues on a new 'client' trying to connect to github. I have read many threads to verify that my ...
2
votes
1answer
168 views
dm-crypt and LUKS password rotation
How do you protect the master key, and distribute multiple passwords for admin access? Is there a 3rd party user management tool or is this native?
5
votes
3answers
2k views
how to avoid ssh asking permission?
We are attempting to speed up the installation of oracle nodes for RAC installation.
this requires that we get ssh installed and configured so that it doesn't prompt for a password.
The problem is:
...
3
votes
2answers
544 views
Multiple SSH private keys, possible?
Is it possible to have multiple SSH key in a single client, and let ssh choose the right one automatically?
4
votes
1answer
331 views
Ssh keeps asking for passphrase several times
I have a remote machine, with which I have set up public-key ssh auth - that is, I can ssh to it without typing in password each time. And I have a set of actions in a script, which use that ssh ...
3
votes
1answer
209 views
ssh prompts for password despite .ssh/authorized_keys
I issued ssh username@db2workgoup -n "echocat ~/.ssh/id_dsa.pub>> ~/.ssh/authorized_keys" and then checked that the key was stored in authorized_keys file. But ssh is still asking for the ...
1
vote
1answer
992 views
CentOS 5.5 SSH with Key for non ROOT user
I tried pretty much everything I could to make this work. I spent literally 6 hours on research and nothing helps to remove "Server refused our key" error.
My username I tried to make is "Testuser" ...
3
votes
1answer
234 views
SSH Public key comment separator
I've created a SSH authentication key (with ssh-keygen) in two different servers, both with a useful comment, but the public key of one server has == between the key and the comment, while the other ...
3
votes
1answer
532 views
How to enable nagios user created by yum to use check_by_ssh
I've used yum install nagios on an Amazon Linux instance, and it created a nagios user with shell /sbin/nologin and homedir /var/spool/nagios. This is the behaviour on EC2.
I want to use check_by_ssh ...
5
votes
3answers
230 views
For a same unix or linux user, different sets of environment variables
I'm using tcsh, and for a specific project every member of my team connects to a server with the same user. (This is something we cannot change).
The situation arises because I want to have some ...
4
votes
1answer
544 views
How to use keyfiles,for ZFS whole disk encryption?
Does anyone have a working implementation using keyfiles, preferably on SD Card, instead of a prompt for ZFS? I know how to do this with linux LVM/LUKS. In my opinion the FreeBSD full disk ...
3
votes
2answers
479 views
How to make password-less login work
I generated a key and copied it to my target:
ssh-keygen
ssh-copy-id username@hostname
I left the the location of the key as default and did not set any passphrase.
For a small while after that, I ...
15
votes
1answer
581 views
Is it safe to give out my SSH public key for work?
I currently work remotely for a number of organizations which need me to access their servers regularly for maintenance and upgrades. Is it safe for me to add my RSA public SSH key to the ...
10
votes
3answers
806 views
How can I lock my own account from remote ssh login with password?
I don't want to disable remote login with password altogether, but I want to make it so that my account is only accessible with key pair authentication (there are other users who wants to use ...
4
votes
4answers
2k views
How to avoid being asked passphrase each time I push to Bitbucket
I set up my ssh stuff with the help of this guide, and it used to work well (I could run hg push without being asked for a passphrase). What could have happened between then and now, considering that ...
6
votes
2answers
441 views
Is it possible to use one SSH key per account for each account on a given remote server?
Suppose I have a number of accounts on a server called SERVER. Let's call them ACCOUNT1, ACCOUNT2 and ACCOUNT3.
Suppose I don't want to have to type in the password for the account each time I ssh ...
8
votes
1answer
538 views
Is there an easy way to update information in known_hosts when you know that a hosts key has changed?
If a host's operating system has been re-installed and had its public key regenerated sshing to it will of course fail because the new key doesn't match the old one.
Is there an easier way to tell ...
3
votes
1answer
453 views
Is it possible to use ssh-copy-id once password based logins are disabled?
Is it possible to use ssh-copy-id once password based logins are disabled? Otherwise, is there an utility for adding an authorized public key to a user or should I edit the ~/.ssh/authorized_keys file ...
2
votes
1answer
532 views
How do I use SSH keys for passwordless SSH via X11 apps (like nautilus)?
I just reinstalled Linux on my laptop, and I'm trying to get SSH pubkey authentication working via X11 applications. Specifically, I'm trying to use baobab to display the usage of a remote filesystem, ...
2
votes
4answers
206 views
SSH Do not connect even with publickeys installed
I'm trying to connect two servers. I got the id_dsa.pub key from user john from server A and paste into authorized_keys of user mike from server B.
Then I tried to connect from server A to server B ...
8
votes
3answers
4k views
SCP from one server to another without password prompt
What is the best way of doing SCP from one box to the other without prompting for password?
There are two servers:
Server A (10.152.2.10): /home/oracle/export/files.txt
Server B (10.152.2.11): ...
