-1
votes
3answers
51 views

How access openssh-server with external IP address from outside the Local Area Network

How can I use my new openssh-server with the external IP address from outside the Local Area Network? The purpose is that an external computer administrator from outside the Local Area Network should ...
0
votes
0answers
30 views

Installing Google 2 step Authentication causes SSH to not connect

I am following the instructions here https://www.digitalocean.com/community/tutorials/how-to-protect-ssh-with-two-factor-authentication After making the changes listed to /etc/pam.d/sshd and ...
0
votes
1answer
52 views

DigitalOcean droplet root password not accepted for client, but works for console

I have an Ubuntu 14.04 droplet with PubkeyAuthentication set to yes and PermitRootLogin set to no. Since I created it, my pubkey has worked fine. For some unknown reason today it's not accepting my ...
0
votes
1answer
30 views

Locked myself out of remote server

Before I left, I've set up an old computer with Lubuntu 14.04 32-bit. While trying to set up rtorrent, I did something to lock myself out while following this tutorial. Normally my computer has one ...
0
votes
0answers
23 views

ssh is disconnecting when tacacs+ is enabled

I am using ubuntu 12.04 and the openssh-server Version: 1:5.9p1-5ubuntu1.29. I'm using a remote tacacs+ server for authentication and authorization. When I login through ssh, tacacs+ authentication ...
0
votes
1answer
39 views

How to change the default position of ~/.ssh/authorized_keys

My VM server is installed ubuntu 12.04 and connected to a storage (not sure about the system of this storage). I have change my home directory to the storage. However this storage could be assessed by ...
2
votes
1answer
408 views

Can't SSH in as root

I'm using the default installation of openssh-server for my Ubuntu 14.04 server. I can connect through the console as root like normal, with my username and password. When I try to SSH with the same ...
0
votes
0answers
117 views

Ubuntu 12.04 - SSH hang at reading configuration

Hi fellow Ubuntu users! I currently have a problem when connecting to remote computers at work. Here is the log : OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading ...
0
votes
1answer
51 views

ssh pair key authentication problem

I have a problem with public and private key authentication. I do this steps and then, public-key based doesn't work. 1- generate a pair of private and public key (RSA) using the following command: ...
0
votes
1answer
88 views

SSH “Permission Denied (Public Key)” Automatically re-occuring problem

I have a headless server with (until recently) working SSH and public key auth. I deactivated passwords and had a problem resembling the one in this thread, ie. upon SSH-ing into my server I get: ...
0
votes
1answer
53 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
58 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
98 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
403 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
10k 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
109 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
560 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
147 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 ...
10
votes
6answers
35k 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
920 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
275 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
4answers
1k 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
210 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 ...
48
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 ...
15
votes
2answers
21k 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
126 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 ...
10
votes
7answers
11k 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
1k 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 ...
64
votes
10answers
75k 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
675 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 ...
16
votes
2answers
11k 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 ...