The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
0answers
41 views

Using x509 PKI with PGP

I'm building x509 PKI. And I want to apply CA's concept to my own private apt-get repository. I just found that apt-get repository (reprepro) use PGP certificate and some textbook said they can't use ...
0
votes
2answers
47 views

scp not working without password

I created keys so I can transfer files and run commands without having to enter in a password. I used this guide to do it: ...
0
votes
0answers
48 views

ssh publickey authentication to a Ubuntu running inside VirtualBox

I have a Ubuntu running inside a VirtualBox inside my Windows 8 desktop. I am trying to communicate between the Ubuntu and another Debian server in the network. I have enabled Port Forwarding in ...
110
votes
19answers
144k 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 ...
2
votes
3answers
415 views

Why can't I login on the remote computer without a password after using SSH-KEYGEN command?

I have two computers. From the first I created the account admin1 with password admin1. Then I logged in as a root user and used the ssh-keygen -t rsa command. I did not give a password and hit Enter ...
0
votes
0answers
17 views

Where to put the ASCII WPA2 Wifi Key in MacOS X?

I tried to make some research about wifi security in our company: So i tried to het WPA2 Wifi key using wifite tool in Kali linux distribution. After the few attempts i get WPS PIN and WPA2 KEY: ...
2
votes
3answers
508 views

Authentication refused: bad ownership or modes for file /var/git/.ssh/authorized_keys [duplicate]

EDIT The issue as exposed here is solved (about files modes of the .ssh folder. But an other issue persists so I create a new question : > Unable to login with SSH-RSA key I can no longer ...
0
votes
1answer
54 views

Unable to login with SSH-RSA key

This post is following this question : Authentication refused: bad ownership or modes for file /var/git/.ssh/authorized_keys . The issue as exposed there is solved (about files modes of the ...
3
votes
4answers
8k views

SSH public key won't send to server

I've been struggling with this for a couple hours so any help is greatly appreciated... I have 2x servers both of which I can ssh to with public keys from OSX, no issues at all there so I'm certain ...
3
votes
3answers
2k views

parallel-ssh with Passphrase Protected SSH Key

I'd like to use my passphrase protected SSH key when performing tasks with parallel-ssh (and related tools). However, I can't get this to work. All the documentation, regarding parallel-ssh, show ...
0
votes
1answer
136 views

ssh secure shell: “connection closed by remote host”, not acquiring the key

I am very new to using this ssh secure shell to access a remote workstation. This is the third time I have received the message: Server responded "Connection closed by remote host". The ...
2
votes
1answer
59 views

gnome-keyring-daemon components and their use

When reading gnome-keyring-daemon manual, one can see pretty clearly that the --components option has four valid values: ssh, secrets, gpg, and pkcs11. However, I couldn’t find any detailed ...
1
vote
1answer
51 views

Passwordless ssh login on Mac OS without -i option

I have a ssh key without a password to login to a remote system. Let's assume the remote server is called server-name and has the same user as the one I'm currently logged in. In the console if I do ...
14
votes
5answers
16k 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: ...
0
votes
0answers
33 views

SSH: public key authentication to git repo works only on local sessions

I can access my repository on bitbucket from my machine without any issues if I am in front of it, but when I am logged in through SSH to the same machine, it doesnt. Diff of SSH output(local session ...
2
votes
5answers
468 views

Is it more convenient to login to SSH using a password because SSH Keys need to be stored on each computer [closed]

I do not mean this to be an opinionated question, I am just trying to see if I am missing something here: It seems like using a username and password to use the SSH because the username and password ...
2
votes
0answers
152 views

Force OpenSSH / pam / pam_ldapd to do pam_ldapd(sshd:auth) with public-key authentication

I have working pam_ldap authentication using libpam_ldapd. I'm using slapo-nssov and want to use loginStatus attribute which is added to users ldap entry after opening pam session and deleted when its ...
0
votes
1answer
55 views

SSH: how to connect withou password knowing only passphrase?

Short question: I got a task to update a git repository. Information I received is following: host, port, user name and ssh key's passphrase with information that key's type is rsa. How can configure ...
2
votes
2answers
717 views

RHEL 7 (CentOS 7) security / ssh / sshd_config advise requested

I am not a sysadmin and try to create a more or less secure web server (LAMP based CentOS 7). I read several tutorials about setup an initial CentOS 7 droplet and got everything running fine. ...
11
votes
2answers
258 views

A consistent and safe approach to passwordless accounts with SSH

I must admit that I like servers without passwords in some cases. A typical server is vulnerable to anyone who has physical access to it. So in some cases it is practical to lock it physically and ...
3
votes
0answers
91 views

Is there a technical reason why ssh-agent lacks a sudo-like inactivity/idle timeout feature?

There are some brief discussions about the existing ssh-agent -t feature at [1], and there was a post as far back as 2001 on debian-devel [2] wishing for an inactivity timeout feature. There's a ...
-1
votes
1answer
55 views

How to check ssh secret and public key validability in local command line [duplicate]

I have a secret key id_rsa and a public key authorized_keys that should be pair. But I have a problem to ssh by using these keys. I want to check the validability of these key pair by a command in ...
2
votes
1answer
269 views

SSH public keys not working; my home directory is encrypted

I installed Ubuntu LTS 14.04 server edition on a remote computer, and added my local public key to ~/.ssh/authorized_keys on the remote computer. I found that I still needed to use password to log in ...
1
vote
0answers
74 views

Restrict SSH access to git usage only

Using: ssh-keygen -O force-command="/bin/restricted-command", or command="/bin/restricted-command" at the beginning of an authorized_keys line one can force a key-based SSH connection to execute ...
0
votes
3answers
152 views

creating and sending a self-signed public key using GnuPG in CentOS 7

I know that I can create a GPG keypair from the CentOS 7 terminal by typing gpg --gen-key and following the resulting steps, but how can I make sure that the resulting public key is self-signed? And ...
25
votes
3answers
85k views

ssh_exchange_identification: Connection closed by remote host (not using hosts.deny)

I'm not using hosts.allow or hosts.deny, further more SSH works from my windows-machine (same laptop, different hard drive) but not my Linux machine. ssh -vvv root@host -p port gives: OpenSSH_6.6, ...
0
votes
1answer
1k views

ssh public key authentication not working

I had my keys set up so I can ssh between machines without having to enter a password and everything was working for a while but then, all of a sudden, I'm being prompted for a password on some ...
0
votes
1answer
402 views

Creating MySQL database and user without password

I am building a set of bash scripts which basically prepare apache virtual hosts, git repositories and other stuff on a cloud server. So far so good, everything is working, but a big problem occurred: ...
0
votes
1answer
221 views

Logging in through ssh tunnel with rsa key still giving password prompt

I have two laptops (Host A and Host C) with dynamic IP addresses and one desktop (Host B), all of which are running (Ubuntu) Linux. Right now I have things set up so I can access Host A from Host C as ...
1
vote
1answer
50 views

automatic ssh connection with use the passphrase key

I use the key pair with passphrase for the host connection on ssh. Is it possible to specify this passpharase in ssh_config on the client?
1
vote
1answer
55 views

SSH not giving indication that the public key is being used for login

I have a public key to log on to my server. This key is password protected. However, when I log in to my server, there's no indication that the key is ever used. I just log in with my password as ...
1
vote
1answer
67 views

How does 'ssh-copy-id' work under the hood?

What does the program ssh-copy-id actually do under the hood? Can the steps be explained as if to a child with a good understanding of computer science? Does it use protocols already existing in the ...
1
vote
2answers
55 views

Safe way of letting users upload their public keys

I need to let untrusted users, strangers, upload their id_rsa.pub to my server and onto a given user's authorized_keys (user git in my case). What is the safest way of achieving that, without having ...
4
votes
2answers
102 views

SSH password requested when in Tmux

When I connect to my remote machine I do authenticate using a rsa key (I think is rsa, don't remember). If I do ssh from a regular shell I get logged on the machine without a password. However if I ...
4
votes
3answers
240 views

Automatic login via ssh (no GUI environment installed / no ssh-agent available)?

I have three systems, and I want to have them doing backups between them periodically. The two of them, have Debian Wheezy installed and the other one has Ubuntu 12.04 installed. Only the Ubuntu has a ...
1
vote
1answer
33 views

Remotely use SSH key authentication (3

I have a VM using ubuntu 14.04. running on a windows. If I use the terminal on the VM desktop, I can connect to my servers without passwords using registered SSH Keys. When I connect to the VM from ...
2
votes
2answers
161 views

temporarily disable login using one specific ssh key

On my server, I have several public SSH keys in ~/.ssh/authorized_keys. I would like to temporarily block/disallow/deactivate one key. I want to prevent the user to log in using this key now. but I ...
2
votes
1answer
436 views

OS X SSH keeps asking for password [closed]

I connect from a Linux machine to several Macs over ssh using public/private keys. The setup is the identical on every ac, different OSs from 10.5 to 10.9 and publickey working. Only one of them, ...
1
vote
0answers
325 views

How to add PuTTY private key to OpenSSH client

I am trying to setup scp on a new Ubuntu 14.04 system. This system will act as an SSH client to an already configured SSH server on another Ubuntu 14.04 system. I can use putty to SSH into the ...
3
votes
1answer
743 views

Public-Key Authentication w/ Jailed SFTP User

I'm trying to set up a jailed SFTP user account on my own local machine to test an application with libcurl. I used this guide to help me figure out how to set up a jailed SFTP user: ...
0
votes
2answers
359 views

Permission denied when run script via ssh

I wrote script which download via scp and install some packages. SSH keys are added to host and when I run [root@HostB ~]# ./myscript everything is ok and packages are downloaded via scp without ...
3
votes
1answer
613 views

Centos 6.5 not able to login with public key and login is sloooooow

I set up a new system with CentOS 6.5. I copied my public key key with: ssh-copy-id root@192.168.1.202 It took 15+ seconds for the password prompt to show, but then it copied. However ssh to ...
3
votes
1answer
4k views

net.ipv4.conf.all.mc_forwarding: why is my access denied?

On Debian 12.04 LTS I am trying to access the key net.ipv4.conf.all.mc_forwarding by doing : sudo sysctl -w net.ipv4.conf.all.mc_forwarding=1 But every time I am doing this, I get the message ...
1
vote
1answer
213 views

How does Linux generate ssh keys after reboot?

I installed CentOS 7, and noticed that I have rsa and ecdsa keys generated. I deleted all of them and rebooted the machine. I got a new pair of rsa and ecdsa keys. How does Linux generate the keys? ...
3
votes
1answer
2k views

My cloud server came with PermitRootLogin without-password, is it normal?

I was just wondering if it is normal that in the Ubuntu 14 provided by my cloud hosting company,there is this configuration in the file /etc/ssh/sshd_config : PermitRootLogin without-password ...
-1
votes
3answers
7k views

SSH: “Server refused our key” with no reason

I was trying to set up a simple backup script to run automatically that would copy a file from a Windows machine to a Linux one through SSH. As a lot of simple online tutorials suggest I used pscp ...
2
votes
2answers
1k views

Why can't I use public/private key authentication with ssh on Arch Linux?

I have the following setup on an Ubuntu machine: ~/dotfiles/authorized_keys2 ~/.ssh/authorized_keys2 -> /home/wayne/dotfiles/authorized_keys2 I had the same setup on my Arch machine, but when I ...
3
votes
1answer
190 views

How to know which public key was used when someone used passwordless ssh login?

Say for some reason, there is only a "user" account on a shhd server. Everyone has his own private key to ssh to the server, as "user". Then, is there a way to see who is he (during or after his ...
4
votes
1answer
1k views

Why ssh-copy-id prompts for the local user password three times?

Noticed from my previous question that when trying to copy an SSH public key to a remote host via ssh-copy-id, I am prompted for the local user password three times: ssh-copy-id myuser@myserver ...
1
vote
1answer
71 views

How does ssh server defines which key to use first having more than 1?

I have just found out that on my Ubuntu machine I have more public keys to serve in /etc/ssh directory: $ ll /etc/ssh total 296K -rw-r--r-- 1 root root 237K lip 3 2013 moduli -rw-r--r-- 1 root root ...