1
vote
1answer
54 views

Trying to get SSH with public key (no password) + google authenticator working on Ubuntu 14.04.1

I'm using Ubuntu 14.04.1 (with OpenSSH 6.6 and libpam-google-authenticator 20130529-2). I'm trying to set up SSH logins where the public key authenticates (without a password) and a user is prompted ...
1
vote
0answers
27 views

Can't disable password prompt for ssh

I try to disable password login for a user using ssh. Here's my /etc/ssh/sshd_config file # Change to no to disable tunnelled clear text passwords PasswordAuthentication no # Change to yes to enable ...
-1
votes
0answers
21 views

Is it possible to run binvox (or any X11 app) on a Linux server without display? [migrated]

I am trying to run Binvox(http://www.cs.princeton.edu/~min/binvox/) via web server, on an Amazon EC2 server running Ubuntu 14.04. I am using the system(binvox, $ret) function call in my PHP script. ...
0
votes
1answer
39 views

OSX: ssh-agent caching passphrases…but when cleared?

I have a ssh RSA key in a client OSX 10.9.4. The SSH server is ubuntu. Everything works OK, but the problem is that my OSX ssh-agent seems to be caching the passphrases. The first time I ssh, it is ...
0
votes
3answers
78 views

Deny connection to and from a specific hostname on Ubuntu/Apache2

My wordpress EC2 server was probably hacked. When running iftop command I can see that my server sends and recieves data from a hostname name "i157panamamails.com". This hostname never goes away and ...
0
votes
1answer
53 views

Site to site ssh tunnel

I have two virtual environment at different locations, and I want to set up site to site ssh tunnel for contact between those networks. I have configured the ssh tunnel on both sides with routes to ...
0
votes
1answer
35 views

fail2ban block ports rules iptable

I just installed Ubuntu Server 14.04 and don't have much experience with IPtables. I am trying to get a basic setup going where I only accept SSH connections on port 22 and 2222. I actually have that ...
0
votes
0answers
41 views

Ubuntu 14.04 causes SSH error, but not Ubuntu 12.10 [duplicate]

I have two different servers, one has ubuntu 12.10, the other has ubuntu 14.04 LTS. I need to SSH files to a 3rd remote server. The 14.04 LTS server throws an error when attempting to SSH. This is ...
0
votes
1answer
55 views

Group of workstations refuse to SSH to one another, but can connect just fine in and out to others

I have a group of Ubuntu 14.04 workstations that are all clones deployed via image. After imaging, they are assigned a static IP and they also delete/regenerate their host keys. Each of them on their ...
0
votes
2answers
130 views

Editing sshd_config file [closed]

I'm trying to edit the sshd_config file that's in the etc/ssh (of an Ubuntu AWS EC2 server) folder. I'm using FileZilla to change the ports but no matter what I do it won't except the changes. I get ...
0
votes
2answers
52 views

Keypair with Shellinabox?

I've got an Amazon EC2 instance with a keypair, and I want to setup shellinabox so I can ssh from any web browser. However, shellinabox only seems to allow password logins and I wasn't able to find ...
0
votes
1answer
57 views

SSH connection timing out on certain clients only

I have a server that has around 100 SSH tunnel connections active from client servers across Canada and the US. We use the same device that runs a custom build of Ubuntu and load that on each client ...
5
votes
1answer
158 views

Understanding service --status-all output

I am trying to understand the output of the service --status-all command on Ubuntu 13.10, since the man page doesn't explain it. For example: [ + ] rsyslog [ - ] sendmail [ ? ] sendsigs [ + ] ...
0
votes
1answer
92 views

SFTP restrict users to a few directories

I run a game server and I have a few people that I want to give access too the server to help develop. I am trying to let them have access to only these directories /var/www/Update /root/gamed/config ...
0
votes
1answer
46 views

Bash function hangs while command run perfectly without function

Following function hangs : ssh() { local RESULTS; RESULTS=$(ssh $USERNAME@$SERVER $SSH_COMMAND1); echo $RESULTS; } ssh; while if i run following commands they work fine : ...
-2
votes
1answer
107 views

Why I am not able to ssh as root?

root@web04:~# ssh -v -i.ssh/id_rsa root@11.11.11.4 OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012 Warning: Identity file .ssh/id_rsa not accessible: No such file or directory. debug1: ...
1
vote
1answer
218 views

Exit code 126 from SFTP

I've been notified that SFTP access is no longer working on an Amazon EC2 server running Ubuntu. I had done some work creating SFTP access for other users on this server. The limited user access is ...
0
votes
0answers
208 views

How do I install a bitnami LAMP module by SSH command line?

This is a pretty straightforward question that I cannot seem to find an answer for. I already have a running Bitnami LAMP stack on an Amazon EC2 instance. Where do put the installer ...
2
votes
1answer
146 views

ssh shared key authentication asks for password, unless sshd runs with -d option

My client is Ubuntu, and the server is CentOS. I have shared key authentication set up to login from client to server. When I run the server like: sudo `which sshd` -d Everything works as ...
1
vote
1answer
4k views

Cannot log in to Ubuntu 14.04 LTS server after enabling root login for SSH via PermitRootLogin

When trying to log in as root (with public key) to an Ubuntu 14.04 LTS box, the OpenSSH server will just say Server refused public-key signature despite accepting key! I have enabled root login by ...
-1
votes
1answer
54 views

SSH: how to display a given windows registry settings?

I have 2 virtual machines: VM 1: Windows XP VM 2: Ubuntu I access to Windows XP from Ubuntu using SSH. Is there a command I can run via SSH on Ubuntu to display the settings of a given Windonws ...
0
votes
1answer
833 views

problems with putty while establishing ssh connection (Ubuntu Server)

since two days I am facing a really weird problem. I have receantly installed ubuntu server 14.04 LTS on a workstation. It has a fix IP address, which I can successfully ping from other computers in ...
1
vote
8answers
269 views

Can I (practically) block access to the SSH port to my country only?

I'm thinking that blocking access to the SSH port to allow for my country only is an obvious step, but I can't see a practical way to do this. I'm in the UK if it matters. I have full access to the ...
0
votes
1answer
81 views

No remote access to VPS container based on OpenVZ

Is there any chance to start ssh server when sysinit is turned to DEFAULT_RUNLEVEL=1? I have no remote access at the moment to my VPS server (based on OpenVZ container), but I can edit files and ...
1
vote
0answers
508 views

Trusty Tahr 14.04 update disables SSH

Ive recently been updating some servers on AWS from Ubuntu 12.04 LTS to 14.04. For some updates the SSH Daemon does not appear to start correctly after the final reboot. Although all other service ...
0
votes
1answer
485 views

SSH dont pick up changes in config file (Ubuntu 14.04)

I made a simple change to the SSHd config, but it never get picked up by the SSH Daemon. /etc/init.d/ssh restart no error is reported, any idea what it may be, or where i can look?
0
votes
2answers
69 views

SSH config (~/.ssh/config) - advanced configuration

UPDATE: Just to confirm more about my setup in case it wasn't clear: No private keys are ever shared anywhere. (1) Human programmers using Mac each have one SSH key (in ~/.ssh/id_rsa) that they use ...
0
votes
0answers
33 views

Multiple upstreams with SSH from Bitbucket

I'm a bit new to deployment on servers, straight from Bitbucket to my VPS. One thing I couldn't figure out by myself or Google was the following: The first Bitbucket project I added with git ssh to ...
1
vote
2answers
75 views

How do I get AWS EC2 Ubuntu Server out of “Stopping” state?

I was unable to SSH or SFTP into my ubuntu server on EC2 this morning. It should be noted that SSH and SFTP were working fine up until now. To troubleshoot this I did the following: Logged into AWS ...
1
vote
1answer
80 views

Port based routing on ubuntu

My situation: A ubuntu server is part of a LAN with 2 gateways. The one offers high speed with high latency. The other low speed with low latency. My server usually uses GW1 for all traffic (because ...
8
votes
4answers
4k views

pam service(sshd) ignoring max retries

I have vps that I use to run a webserver on, it currently runs ubuntu server 12.04. Since a few weeks I keep getting a lot of errors in my ssh console. 2014 Apr 11 08:41:18 vps847 PAM service(sshd) ...
1
vote
1answer
99 views

how do deal with ssh config, and and passphrase

Why oh why am I being asked for a passphase when cloning from github?? git clone git@github.com:test/testchef.git Cloning into 'chef'... The authenticity of host 'github.com (xxx.xxx.xxx.xxx)' can't ...
0
votes
0answers
69 views

Ubuntu jail SSH & SFTP

So I'm having trouble with jailkit. SSH is working fantastically, SFTP not so much. zoneminder:x:1001:1002:,,,:/home/jail/./home/zoneminder:/usr/sbin/jk_chrootsh scott@neptune:/home/jail/home$ ls -l ...
-4
votes
2answers
182 views

Don't work ssh in a VM Centos [closed]

When I tried to connect my Ubuntu 13.10 to my VM Centos 6.5 using ssh appear the message "Connection refused" or "No route to host" even than I change the port, noting change. I need to use SSH, ...
0
votes
2answers
298 views

Saving SSL password for SVN in Ubuntu

I have tried to set up my SVN that way, that it saves my passwords, but for some reason it won't work. I am using a SSL certificate, for which I need to provide a password every time. I have tried ...
0
votes
0answers
105 views

Creating SFTP Users chrootdirectory /var/www

I am trying to create a new sftp user in Ubuntu 12.04.4 and am running into some trouble. After creating the first sftp user, I document the commands for later user and then delete the user and try ...
0
votes
1answer
910 views

How to free the (unused) memory?

Being a newbie in working with amazon ec2, I am trying to make my application work. I've connecting a few times by ssh, I've been running and stopping the server, sometimes the connection was lost, ...
0
votes
1answer
94 views

nginx and apache2 conflict - 403 Forbidden

I am running nginx on my server, and by mistake I stared apache2 on the server. After doing that I have a 403 Forbidden error on my home page. I killed apache2 process, but I still facing the same ...
0
votes
1answer
42 views

EC2 Ubuntu Instance Occasional Downtime

i'm having trouble with an EC2 instance experiencing a long period (several hours) of downtime every day instance type: t1.micro availability zone: ap-southeast-2a security groups: allow all ICMP, ...
2
votes
3answers
88 views

Disable system info at ssh login

How to disable system info at ssh login: login as: xyv Ubuntu 13.10 xyv@XXXXXXX's password: I think this is big problem. I would like to know system info only after password verification.
2
votes
5answers
127 views

SSH security while traveling

I'm new to the sysadmin/IT side of things, so I apologize if this may seem straightforward. I tried searching, but since SSH is such a broad field I didn't know what keywords or terminology to ...
0
votes
1answer
963 views

Installed libssh2-php but no ssh2 with php -m

I use php 5.5.3 on a Ubuntu 13.10 server and want to use ssh2 with php. So I installed libssh2-php with thi command: apt-get instal libssh2-php Installation runs without error. I got a ssh2.ini file ...
0
votes
1answer
389 views

synology nas DS213 J rsync files from ubuntu 12.04 server

I´ve a Synology DS213 J Nas System. I´m trying to sync folders from a ubuntu 12.04 webserver to the nas without password prompt. therefore I logged into the nas via terminal with root account. ...
0
votes
1answer
578 views

Permission denied (publickey) when attempting to connect Ubuntu EC2 instance via SSH

I'm attempting to connect to my EC2 Ubuntu instance via SSH with my private key. I had no problem connecting to the server before using the sudo reboot command. Now, I cannot connect to the instance ...
0
votes
3answers
220 views

Cant understand Rsync errors using ssh

I want to tryout Rsync for the first time but have run into difficulty. I want to transfer files from a remote server to my local server. I login to my local server and type: sudo rsync -avz ssh ...
3
votes
1answer
343 views

Upgrading OpenSSH on web server (Ubuntu) for PCI Compliance

I've been trying to upgrade OpenSSH for PCI compliance on our company's web server. I cannot for the life of me figure out how to do this though. I have attempted the following commands via SSH ...
0
votes
2answers
213 views

SSH to VM rejecting password, works from virt-manager console

First of all, I'm sorry if there is a duplicate post somewhere. I searched for a while but none of the posts I found fixed my problem. It's fairly annoying. I created a new VM on our network and when ...
1
vote
1answer
96 views

no internet connection when in private network [closed]

I have an ubuntu server with a public IP, which I can reach with ssh from my local machine. However, when i put this server in a private network, I can no longer reach it with ssh from my local ...
1
vote
3answers
461 views

Reverse SSH Tunnel from windows to ubuntu to serve SQL server

just as the question says, I am currently trying to establish a reversed SSH connection from a Windows server behind a NAT to a hosted Ubuntu VPS. I'm pretty much a total beginner in Linux and SSH. ...
0
votes
1answer
80 views

My new ubuntu server has ssh_host_ecdsa_key and ssh_host_rsa_key files on it already, is this normal?

I have a new dedicated server, which I currently access with username and password over ssh. I have not yet set up an ssh key. I am just looking into it now. So this is a new server with ubuntu ...