0
votes
1answer
12 views

ssh key login to vps woes

I recently created a vps for web hosting purposes. Everything was going fine until I decided that it's time to add another account and disable root authentication. I added a new user to the sudoers ...
1
vote
1answer
39 views

Private/Public key authentication not working after reinstalling ubuntu

I backed up my ~/.ssh folder and reinstalled ubuntu 13.10 on my machine. Then I just copied the .ssh folder back into my home folder and tried to connect to my server. I'm getting the following error: ...
2
votes
2answers
56 views

Disable console access?

How do I disable console access to Ubuntu 12.04? I want to only allow login over SSH. I have searched the web thoroughly but no clear answer was found. EDIT: I'm talking about disabling physical ...
0
votes
1answer
73 views

Unable to login through GUI as a user but I am able to login via terminal

I am unable to login through GUI as a user but I am able to login via terminal. This occurred after I installed 2 steps authenticator of Google using apt-get install command. I followed these steps: ...
0
votes
1answer
3k views

Public Key authentication failed

I am using ubuntu 13.10, and the server runs ubuntu 12.04. I had generate private and public keys using ssh-keygen, and put id_rsa.pub to server side and added it to authorzied_keys accordding to the ...
1
vote
0answers
90 views

pam radius module access-reject

I am trying to set up an Ubuntu server that my users will connect to. I already have a Radius server running on a Windows box, and I would like for connections to this Ubuntu box to authenticate to ...
1
vote
1answer
292 views

Cannot ssh with publickey into Ubuntu 13.04 cloud instance

I'm running Ubuntu 13.04 in an OpenStack instance. When I created the instance, I specified a keypair, and I may ssh into the box with the command: [laptop]$ ssh -i keypair.pem ubuntu@my-instance ...
0
votes
1answer
105 views

Delay on ssh authentication

I've just installed 12.04.2 server amd64 in VMWare Player and noticed that there is a 3-5 seconds delay after I put the password and before the shell appears. The same happens when I try to connect ...
5
votes
5answers
19k views

Trying to do ssh authentication with key files: server refused our key

I'm trying to setup ssh authentication with key files in stead of username/password. The client is a Windows box running PuTTY and the server is a Ubuntu 12.04 LTS server. I downloaded puttygen.exe ...
2
votes
1answer
700 views

ubuntu 11.10 /var/log/auth.log

I use Ubuntu 11.10. And I want it to write logging messages about failed ssh log in attempts to /var/log/auth.log. In my understanding /var/log/auth.log is supposed to hold all failed ssh connection ...
1
vote
1answer
183 views

“Permission denied (publickey).” error when trying to ssh into server

I am trying to connect to a server via SSH. I am getting the following log from using the command: ssh -vvvT ubuntu@ec2-176-34-121-133.eu-west-1.compute.amazonaws.com. Please could someone help me ...
2
votes
3answers
926 views

Can't connect to a remote server with Nautilus and a private key

The remote server requires a private key and passphrase for authentication. I'm trying to connect to the server as root (on that server) from Nautilus running on behalf of my non-root account on my ...
2
votes
1answer
193 views

How do I create one user without key authentication?

I've completed the following steps: I have configured Ubuntu server with Key authentication and it is working fine. I have disabled password authentication for key authentication to work. The server ...
46
votes
2answers
5k views

How can I use a passcode generator for authentication for remote logins?

I would like to strengthen the authentication of my SSH logins by adding another factor: a passcode generator device, or a passcode generation application on my mobile phone. The only obvious options ...
9
votes
2answers
13k views

How can I allow SSH password authentication from only certain IP addresses?

I'd like to allow SSH password authentication from only a certain subnet. I see the option to disallow it globally in /etc/ssh/sshd_config: # Change to no to disable tunnelled clear text passwords ...
2
votes
1answer
108 views

how do I use ssh with key access in 11.10

I've used ssh before and password access from my new asus k53by laptop with a fresh 11.10 install to dev server works fine. I wanted to set up key access for added security and ease of scripting and ...
8
votes
6answers
9k views

ssh no longer allows public key authentication

My machine recently stopped accepting incoming public key authentication. I have an ubuntu 11.04 desktop that I ssh into from a windows machine. I use putty with pageant. I am able to connect but ...
3
votes
2answers
899 views

How do I approve specific computers to ssh into a machine with password authentication disabled?

The instructions in help.ubuntu.com/community/SSH/OpenSSH/Configuring recommend disabling password authentication so that "it will only be possible to connect from computers you have specifically ...
51
votes
9answers
55k views

How can I set up password-less SSH login?

I want to be able to login to a remote via ssh without having to enter the password all the time. How do I set it up? Is a different command required to execute a password-less session?
2
votes
2answers
555 views

SSH Key problem

I want to setup my home server to use ssh keys but when I follow the tutorial on https://help.ubuntu.com/10.04/serverguide/C/openssh-server.html for setting up ssh keys I get this: Bad port 'umask ...
15
votes
2answers
7k views

How can multiple private keys be used with ssh?

I was able to setup ssh to use private/public key authentication. Now I am able to do ssh user@server1 And it logs on with the private key. Now I want to connect to another server and use a ...