1
vote
0answers
41 views

Joining an Ubuntu 14.04 machine to active directory with realm and sssd

I've tried following this guide to set up realmd and sssd with active directory: http://funwithlinux.net/2014/04/join-ubuntu-14-04-to-active-directory-domain-using-realmd/ When I run the command ...
0
votes
1answer
20 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 ...
-1
votes
0answers
26 views

SSH Login with a certain user to redirect the session [closed]

Due to limitations in our network setup, we can only have port 22 pointing to one internal server (call it a) at a time. At the moment, if I want to get to server b I have to go through a and it gets ...
1
vote
0answers
39 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
48 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
78 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
32 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
0answers
29 views

WinSCP has to constantly reconnect to my Ubuntu Server [migrated]

I am on a Window 7 machine so I am left to using a tool like WinSCP to manage my remote servers which run Ubuntu. I do use a good old command line too but for file management I generally use WinSCP, ...
0
votes
1answer
50 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
127 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
55 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
35 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
76 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
128 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
116 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
114 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
1k 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
47 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
414 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
197 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
59 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 ...
0
votes
0answers
394 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
336 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
60 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
32 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
63 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
69 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 ...
6
votes
4answers
3k 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
81 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
59 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
152 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
1answer
187 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
91 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
617 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
69 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
41 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
81 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
121 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
649 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
320 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
291 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
126 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
285 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
171 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
86 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
328 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
65 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 ...
0
votes
3answers
109 views

Setting up a linux web server, noobs basic operation

This question might be an odd one to ask. However I'm a noob on linux/networking and trying to set my old Ubuntu desktop running computer as a web server and place that in my server cabinet which will ...
2
votes
2answers
668 views

Filezilla/Puttygen doesn't recognize private key file

I have generated a key for an Ubuntu Virtual Machine running on Azure Cloud Services http://www.windowsazure.com/en-us/manage/linux/how-to-guides/ssh-into-linux/ openssl req -x509 -nodes -days 365 ...
1
vote
1answer
62 views

Setting up ufw without locking yourself out

Basically I want to protect a Ubuntu server with a firewall and sided for ufw. The big problem is that I don't have physical access to the server, neither is it possible to force a reboot or revert to ...