Questions tagged [public-key]
283 questions
2
votes
1 answer
Webmin + SSH Public Key
Is it possible to upload a UNIX user's public key to Webmin? I would think this would be on this screen, but I'm not finding it....

Jesse Bunch
- 324
- 2
- 9
2
votes
2 answers
User created MOTD prevents SCP from functioning
I've created custom MOTDs to be displayed at login via SSH by doing the following:
create a text file in /etc/usermotd/ with the message inside
Edit the user's .bashrc file and put the following code:
if [ -f /etc/usermotd/`whoami` ];…

Safado
- 4,786
- 7
- 37
- 54
2
votes
2 answers
openssh: public key failure for one user only
Client: opensuse 10.3, openssh 4.6
host: opensuse 11.3, openssh 5.4
I have a user that has ssh publickey setup to a host, to enable running some scripts through cron. We migrated the host to a new server, and found that the user can no longer…

Kendall
- 1,063
- 12
- 25
2
votes
2 answers
SSH backup server - connect to multiple passwordless remotes
I'm wondering what are the steps to configure password-less ssh keys so I can connect and pull data from multiple remote servers. Can I just do:
Backup Machine:
ssh-keygen -t rsa
ssh-copy-id -i /home/user/.ssh/id_rsa.pub root@server1
ssh-copy-id -i…

JoshyD
- 21
- 1
2
votes
4 answers
SSH configuration, publickeys, Permission denied (publickey,password). error
My task: login from Mac OS Snow Leopard client to Ubuntu 10.10 server without password.
Commands:
client$ mkdir ~/.ssh
client$ chmod 700 ~/.ssh
client$ ssh-keygen -q -f ~/.ssh/id_rsa -t rsa
Enter passphrase (empty for no passphrase):…

Alexander Ovchinnikov
- 283
- 2
- 3
- 11
2
votes
3 answers
ssh asks for password despite ssh-copy-id
I've been using public key authentication on a remote server for some time now for remote shell use as well as for sshfs mounts. After forcing a umount of my sshfs directory, I noticed that ssh began to prompt me for a password. I tried purging…

Aliud Alius
- 121
- 1
- 2
2
votes
1 answer
How can I make gitosis distinguish between two users with the same username
I have a gitosis system that seems to be working correctly except for a common problem we run into where I can't distingush permissions between two users who have the same username, but different hosts.
For example:
jsmith@computer.pub 's SSH key is…

bryan kennedy
- 1,721
- 3
- 16
- 31
2
votes
4 answers
Why does my ssh publickey authentication only work with concurrent password authenticated connection
I just setup a vanilla ubuntu lucid (10.04) system with openssh-server. I'm trying to setup publickey authentication, and it only works if I first connect using password authentication and leave that session open. All new concurrent sessions will…

Nathan
- 123
- 1
- 5
2
votes
4 answers
Speed up public key authentication (linux)?
We are using a Mercurial implementation and sending data to a repository server via public key authentication which takes the latest revision and pushes it to our web servers via hooks also using public key authentication (thus two connections using…

Joshua Enfield
- 3,454
- 8
- 42
- 59
2
votes
4 answers
Signing a public key
Am not sure where this is the right place to ask this
Someone has asked me to sign their public key, how do i do that?
His public key has Version: GnuPG v1.2.1 (GNU/Linux)

Gatura
- 573
- 3
- 10
- 24
2
votes
3 answers
SSH authenticate with publickey,password or publickey,none
On my SFTP-Server I want to allow only login via public key AND password
OR (if and ONLY IF user has no password) by only public key
I set the following in the the sshd_config:
AuthenticationMethods publickey,none…

Jorg busch
- 31
- 1
- 4
2
votes
1 answer
AWS - ssh to instance in private subnet
I have 2 instances in AWS. One of them in a public subnet (bastion), the second one in a private subnet.
Both of them were launched with the same key pair (.pem file).
This is how I connect to the bastion:
ssh -i secret.pem ec2-user@public-ip
Works…

shoddylik
- 21
- 1
2
votes
3 answers
authorized_keys has my key, but it's still refused
I'm connecting from machine M1 to machine M2 using ssh (to the same user on the other machine). I should also mention the user shares the same key on both machines. With password authentication, everything works fine; not so with public-key…

einpoklum
- 1,652
- 3
- 21
- 31
1
vote
1 answer
RSA key pair is not allowing me to authenticate to my backup server
I have a server that authenticates SSH through RSA key pairs. Yesterday my rsync backup worked successfully I know this because of log files:
/var/log/backups_log$ ls -l
total 815536
-rw-r--r-- 1 root root 139244471 Jul 26 20:02…

13aal
- 111
- 5
1
vote
1 answer
Possible to create multiple public and private key to SFTP Linux server?
I try to create Public Private key to Linux SFTP server.
If I have 5 different users accessing SFTP and wondering is it possible to create key to every single users accessing from different client machines?
Also is it so that all 5 keys can be…

Keke
- 13
- 4