The key-authentication tag has no usage guidance.
2
votes
1answer
17 views
Why failing to get CRAN key for R backports?
I do and get
# http://stackoverflow.com/a/10260634/54964
root@masi:/home/masi/Documents# gpg --keyserver subkeys.pgp.net --recv-key 06F90DE5381BA480
gpg: directory `/root/.gnupg' created
gpg: new ...
-1
votes
1answer
23 views
Why is it private key to specify with -i option in ssh client?
It is said in ssh man:
-i identity_file
Selects a file from which the identity (private key) for public key authentication is read. The default is
~/.ssh/identity for ...
2
votes
1answer
43 views
SSH private key somehow accessible to all users
I can't figure out what is going on. In theory, I produced a key pair for user "user" on the machine homedesktop, and sent the public key to myserver.example.com and put it under myserver:~user/.ssh/...
-1
votes
3answers
52 views
Can I verify a file with GPG without downloading the key
To verify an .iso written on /dev/sdb with the signature my_signature.sig in gpg, I use
dd if=/dev/sdb | gpg --keyid-format 0xlong --verify my_signature.sig -
Is there a way to execute this command ...
2
votes
1answer
59 views
How to achieve password-less ssh login between any two nodes in a server cluster
I encountered a problem on how to achieve password-less login between any two nodes in a server cluster. Now I have a server cluster consists of 10 nodes with following ip addresses:
192.168.0.1 # ...
0
votes
0answers
24 views
VPS sending unpredictable encryption types to ssh clients
On an Ubuntu VPS, running several different host names for the same IP.
When I connect using SSH, looking at the .ssh/known_hosts file on my client, sometimes the key entry says ssh-rsa and other ...
1
vote
1answer
41 views
If I need to recreate SSH host keys with ssh-keygen, how can I change the output directory? (-f switch doesnt seem to work)
I've been trying to start an additional sshd process on a remote machine. I've created a working directory with the new sshd config file I'd like to use.
When I try to run sshd using the config file ...
0
votes
0answers
24 views
Simple 2 step login authentication with Linux
I am trying to implement simple 2 step authentication mechanism in my LINUX.
I have about 10 client machines that runs unattended. It basically has 3 users in it.
1. root
2. autologin
3. service
...
1
vote
1answer
32 views
Does it matter what computer (host or client) I generate an SSH key pair on?
If I generate an SSH using key pair on the host instead of the client or vice versa, does this impact if the SSH key pair would work or does it not matter which computer I generate the key pair on?
1
vote
1answer
37 views
List a saved ssh fingerprint
In an ssh client (Ubuntu 14.04), with
ssh-keygen -F <host>
some informations about <host> are printed, with the ECDSA key (in base64 format).
Is it possible to see its fingerprint in ...
1
vote
2answers
27 views
Why don't I have to regenerate keys when I change a user's password?
We have a Linux box (Ubuntu, but that shouldn't matter), say, somemachine.example.com, and a user that has access to that machine, someuser.
I can SSH into that machine either by explicitly provided ...
0
votes
1answer
96 views
How to auto mount an ssh file system on demand with an RSA key
I am trying to auto mount a folder from my raspberry pi (/home/pi/server_folder), to a local folder (/home/my_name/raspberrypi). I can do this with sshfs (auto mount in fstab) when I set up a blank ...
2
votes
0answers
66 views
Cannot write to home directory/files when logging in via SSH with public key
I have been sshed into a remote host on and off all day, but suddenly can no longer write anything to my home directory despite having appropriate permissions. Read operations work fine, but ...
1
vote
2answers
79 views
git not using global config file or public key
I've setup a global git username and password while logged in as root on my Fedora server with the following commands:
git config --global user.email "[my email]"
git config --global user.name "[my ...
1
vote
2answers
237 views
Still getting a password prompt with ssh with public key authentication?
I tried everything mentioned in this solution Why am I still getting a password prompt with ssh with public key authentication?, but still getting prompt for password.
My local log:
ssh -vvv ...
2
votes
1answer
83 views
Which host key algorithm is best to use for SSH? [closed]
When you first connect to an SSH server that is not contained inside your known_hosts file your SSH client displays the fingerprint of the public key that the server gave. I found from this question ...
1
vote
1answer
130 views
How does OpenSSH determine the choose the host key algorithm?
After updating raspbian and all of its libraries I noticed something different about SSH. When I delete the 'known hosts' file in my home and ssh into my box it provides me with the hosts public key ...
-1
votes
1answer
164 views
How are public and private keys used in ssh?
Assume I have set up public/private key authentication in ssh.
Is it correct that the ssh server possesses the public key but not
the private key, while the ssh client possesses both the public and
...
4
votes
0answers
165 views
How to pass private ssh key via string, not a file?
I have a text of a private key file. I want to connect via ssh to other node, yet the gateway I am in does not provide me with file system access. How to pass a text representation of key and not a ...
2
votes
3answers
165 views
Problem with sudoing ssh - `sudo ssh …` fails
I am trying to use git salt ssh access (which runs with root). The error is always:
Permission denied (publickey).
I managed to reproduce the problem, simulating what salt may be doing, by ...
3
votes
1answer
82 views
SSH login issue with two different user names
I'm facing a login issue with SSH (dsa), here the scenario:
On my host I've created ssh keys for the user dx and set permission of .ssh and id_dsa and id_dsa.pub
I sent the public key to the remote ...
1
vote
2answers
50 views
Can I detect if ssh key authentication will succeed before attempting?
I have a script that needs to run without any user interaction and that needs to set up some SSH port forwarding. It shouldn't prompt for a password - if SSH needs a password to proceed, I'd like my ...
3
votes
1answer
153 views
Why would ssh think there's a passphrase?
When connecting to the server with ssh I'm prompted for a passphrase, although the creator of the key hasn't set one and the file is a plain text private key.
$ cat ~/.ssh/private.pem
-----BEGIN RSA ...
0
votes
1answer
60 views
Rental server refuses SSH connection; won't allow authorise me to download my SSH key
I am attempting to connect to my rental server via ssh to install MemSQL for a project. I have written the following in ~/.ssh/config:
HOST eHosts
HostName e9.ehosts.com
Port 2222
User orderof3
But ...
0
votes
0answers
100 views
Why would my putty key be refused “server refused our key”, but works on next attempt?
I use PuTTY, and I use a key generated with PuTTYgen. My server is a VPS running Ubuntu 14.04 (perhaps this belongs on askubuntu, but I think it may not be Ubuntu specific). The public portion of the ...
2
votes
1answer
312 views
SSH publickey permission denied (Google Cloud Platform)
We run a small handful of Debian servers on Google Cloud Platform. New servers we setup, we're able to add SSH keys at the point of creation and access the machines via SSH without a problem. Older ...
2
votes
1answer
58 views
Send my private key through the ssh session only
My scenario:
localhost: contains my private key
serverA: contains my public key
serverB: contains my public key
I login to serverA and perform some operations, which involve copying some files from ...
0
votes
0answers
621 views
SFTP connection using public key (without password) not working
I need to provide sftp access to a client to my ftp server and this is working fine. For them to access our server without using password - we have followed the below steps on our server.
Created the ...
3
votes
1answer
750 views
openssh: Have ssh add keys to agent as needed
When I ssh into a server and my key isn't loaded in the agent, I have to abort, then run ssh-add to get my key into the agent. I'd like the ssh command to add the key automatically if it isn't present,...
-1
votes
1answer
120 views
Upgrade GNU parted 3.1 to 3.2
I'm trying to upgrade GNU parted 3.1 to 3.2 and when I try to verify the key it says :
# gpg --verify parted-3.2.tar.xz.sig
gpg: Signature made Mon 28 Jul 2014 11:20:50 PM EDT using RSA key ID ...
0
votes
1answer
32 views
Issue with copying the public Key
I'm trying to copy the public key to my remote host but I keep getting this message, "Permission denied (public key).
Password authentication is set to YES in my /etc/ssh/sshd_config file, I have ...
3
votes
1answer
271 views
Upgraded cygwin on PC and now can't SSH into it from Linux
I got everything setup perfect and was able to ssh from a Linux box to my PC's cygsrv (Cygwin SSH Server) w/o any problems w/o using a password (BTW, I'm using a DSA key). All .ssh permissions were ...
2
votes
1answer
134 views
How to convert open-ssl created private key to openssh private key?
I have created an open-ssl private key which I would like to use to connect to my server through ssh. The openssl key was generated during certificate creation and I have to use this key on putty. The ...
1
vote
2answers
73 views
Do I need to re-generate SSH RSA public keys or re-import them again in case my LDAP password changes/expires?
I've took a liking to authenticating with RSA keys a few days ago and imported the keys to the hosts I have been connecting to.
However, my company's policy expires passwords every once in a while; ...
1
vote
1answer
97 views
Can a Linux server that authenticates against an Active Directory accept public/private keys for passwordless login?
I have a Linux server that authenticates users against an Active Directory. Now interactive logins require username and password and automatic login requires a keytab (Kerberos) for passwordless ...
0
votes
0answers
89 views
why is sTunnel failing to launch?
im a bit stuck and need help understanding what im being told as there is nothing in the log file, i get the following error when i try and run stunnel (servermode):
sudo /etc/init.d/stunnel4 start
&...
3
votes
2answers
455 views
key_read: type mismatch: encoding error
Seeing very strange error on newly install CentOS7, I didn't create or touch any ssh-key. ~/.ssh/ directory is also empty.
[john@server1 ~]$ ssh server1
key_read: type mismatch: encoding error
...
0
votes
1answer
115 views
openSSL Key and Certificate
As far as I know, in an authenticated SSL connection, both the client and server have private keys and provide their certificates (with the corresponding public keys) across the connection before ...
0
votes
2answers
123 views
My ssh key doesn't work, permissions look good [duplicate]
My permissions look like this:
-rw-------. 1 smpadmin staff 400 May 21 2014 id_rsa.pub
-rw-r--r--. 1 smpadmin staff 505 Dec 14 19:19 known_hosts
drwxr-xr-x. 45 smpadmin staff 4096 Jan ...
3
votes
1answer
54 views
What are the drawbacks of using policy_any in openssl.cnf?
As given in this document, we may use policy_any to ignore most of the fields of subject in certificate request. There must be some drawbacks of ignoring such fields, would it may lead to some ...
0
votes
0answers
63 views
How do i connect to a remote server using the ssh key of the remote server from my local
I have connected to a remote server from my local server by using the public key of my local system on the remote server. However, I have a situation where I will not know the remote server until the ...
-1
votes
2answers
497 views
What are the keys accepted by openSSH?
Question is simple:
What are the (private) key types and (their specification - format, syntax) accepted by current openSSH?
The vague answer "the keys generated by ssh-keygen" is not accepted - I ...
1
vote
1answer
47 views
Use a specific SSH key-pair when connecting via ssh, and temporarily ignore all other keys?
How can I get ssh to temporarily ignore any SSH key-pairs that are present in $HOME/.ssh along with keys that might be loaded in ssh-agent?
NOTE: I don't want to make any changes to my $HOME/.ssh ...
0
votes
2answers
224 views
Check what ssh keys are accepted on server
I have a directory full of ssh private keys, and I'd like to check what keys are accepted on what server without logging in. How can I do that without adding the ssh-keys to my authentication client ...
0
votes
1answer
53 views
How to find serve's public key string (NOT KEY FINGERPRINT!!!) [duplicate]
I am looking for the server's RSA public key string. I do not have permission to go to /etc/ssh and further so I can't read the actual public key.
I don not have access to any packet sniffing tools ...
0
votes
1answer
95 views
ssh login a second server without password?
I have already set up public/private key pairs for ssh login on a server A without password. The problem is that I also want to log on another server B without password. I searched a little online. It ...
4
votes
1answer
67 views
How do I stop ssh from offering other keys?
I have some server dev.example.com and in its authorized_keys file I have my ~/.ssh/id_rsa.pub key. I also have an ~/.ssh/my_test.pub key.
My ~/.ssh/config specifies that for dev.example.com it ...
3
votes
2answers
1k views
Why does ssh-copy-id with a non-`id_rsa` file on Mac OSX tell me that my key already exists?
I am trying to use a non-standard key name to copy to the remote server but it's telling me that the key already has been copied:
$ ssh-copy-id -i /Users/wwerner/.ssh/my_other_key me@example
/usr/...
4
votes
1answer
244 views
ssh public key auth: first login still asks for a password
I have set up public key authentication with ssh, but what happens, is that when I first log in, it still asks for a password, any subsequent login (while keeping the first login alive), does not ask ...
0
votes
1answer
522 views
Public key not working… but it matches the host key
I want to connect with my raspberry pi from my mac, I can do it from a mac with 10.10, I copied the public keys but I get this trying to login from another mac:
OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec ...