0
votes
1answer
35 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 ...
3
votes
1answer
51 views

Can I use something like a tunnel for SSH in this Linux/Windows Remote Desktop scenario?

I have a Linux server (call it server-L) which i cannot directly ssh to it. In order to ssh it i should connect to a windows server(call it server-W) and then make ssh connection from it to my Linux ...
2
votes
1answer
41 views

How to get the list of SSH tunnels connected with the username used?

The connection is established from Desktop(D) to Server(S) with ssh -D PORT username@Server. From the Server, the list of ssh users connected can be obtained with who, but the ssh tunnels are not ...
-1
votes
1answer
39 views

Move directory from local machine (linux) to SSH server

i am trying to move one my folders from my local machine to my ssh connection. i have been trying with the following command: scp -r /var/www/foo/ root@******/var/www/foo However when i try i get ...
-2
votes
2answers
27 views

FTP and SFTP logs track in CentOS

How it is possible to track the changes made to a directory using tools like FileZilla or XFTP ? because we found some files suddenly got missed from server, in history also nothing was found so ...
0
votes
1answer
21 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
2answers
77 views

SSH Public Key Authentication only works if active session exists before

I have a rather strange problem with my SSH configuration. I set up my server with the help of a Remote Access Card and configured everything with a KVM viewer. So while being logged into the server ...
-1
votes
1answer
36 views

After password change, SSH connection won't work

I've been connecting to my server via SSH for years. Always works fine. Today I decided to change my password. After successfully changing the password, and then trying to connect again, I received ...
-1
votes
4answers
59 views

need to make password less login for same linux server with same user [duplicate]

I need to make passwordless login for same linux server with same user. [airwide@eir ~]$ hostname -i 10.3.7.73 [airwide@eir ~]$ ssh airwide@10.3.7.73 airwide@10.3.7.73's password: how can make to ...
0
votes
2answers
62 views

Cant ssh to my public ip [duplicate]

I have been able to log on to my dev box (which is in my home network) for a while now, using ssh username@publicip however recently this has become impossible due to the following error ...
0
votes
5answers
115 views

Should I change the SSH port to < 1024? [duplicate]

Many server configuration guides recommend that the SSH port should be changed to something > 1024, for obscurity and to avoid conflicts. This is interesting, because it recommends using a port < ...
-2
votes
3answers
49 views

Public Key authentication fails while using the -i parameter on ssh command

I have to do public key based authentication on two Linux servers. Machine 2 (192.168.3.132) username: vfx_30 home dir: /home/vfx_30 ssh keys: /home/vfx_30/.ssh/id_rsa /home/vfx_30/.ssh/id_rsa.pub ...
0
votes
1answer
27 views

Receiving incoming traffic without external IP and port forwarding

I have a virtual machine in the datacenter with an external IP. I can connect via SSH to this virtual machine from my desktop, but this virtual machine has no way of accessing any ports on my desktop. ...
1
vote
1answer
20 views

Segmentation fault during apt-get install

$ apt-get install openssh-server fails with Segmentation fault when it attempts to generate keys. This leaves me with a half-complete installation, but the binaries are in place. I also notice that ...
0
votes
0answers
27 views

Allow a user to access a single Git repository

Consider a server that hosts several Git repositories: $ ls -l /opt/git/ drwxrwxr-x 7 ubuntu root 4096 Jan 2 2014 george.git drwxrwxr-x 7 ubuntu root 4096 Dec 29 2013 john.git drwxrwsr-x 7 ...
-3
votes
3answers
65 views

SSH on linux | CentOS [closed]

I have a Linux server using CentOS. I have changed the SSH config to make it a little more secure, First I changed the from from default 21 (or 22?) to 34786. This way if someone tries to hack in at ...
0
votes
0answers
61 views

Jenkins SSH slave fails to create /home/<user>/jenkins

When configuring an ssh slave on Jenkins, which runs on an ec2 instance, I get the following error message when I click on the "Launch Slave Agent". [08/06/14 18:41:46] [SSH] Opening SSH connection ...
0
votes
1answer
45 views

Should I still disable root if I disable password authentication and enable only key authentication?

I'm new to the linux world and I've been reading a few tutorials on security. I've seen some questions on StackExchange tackling this subject, but from what I've seen, none of the answers clarified ...
2
votes
1answer
43 views

sshdOpenSSL version mismatch - update sshd from rescue mode

After upgrading with apt-get upgrade then sshd is not starting at boot upgrade apt-get update && apt-get upgrade error on boot Have tried to boot in rescue mode and run the following ...
1
vote
2answers
38 views

copy between remote server with local authentication

When I need to copy some files between two remote servers, I usually scp -3 user@server1:path user@server2:path unfortunately, since that routes traffic through my machine, that is very slow when ...
0
votes
1answer
34 views

chattr: undefined symbol: set_com_err_gettext

I've moved my CentOS 6.5 installation to a new server and I'm unable to use chattr on my new server: chattr: symbol lookup error: chattr: undefined symbol: set_com_err_gettext How to resolve this ? ...
1
vote
0answers
48 views

Investigate strange message from syslog@stock

I've noticed that when I'm logged into my server I sometimes get spammed a message from syslog@stock. On this server I am running a website built with Laravel and a Teamspeak 3 server running with ...
5
votes
4answers
587 views

Should I install x86_64 or i386 RPM packages? [closed]

I am wanting to install an RPM package, but I'm not sure whether to install the x86_64 or i386 version. WHM says CENTOS 6.5 i686 virtuozzo at the top. How can I determine which version to install?
0
votes
0answers
17 views

Making proxies on Debian

Hi guys I am trying to create SOCKS Proxies on my VPS and currently am not getting too far so any help is well appreciated. Here's a few details on my VPS: It is running Debian linux, has 512mb ram ...
3
votes
3answers
83 views

Reuse remote ssh connections and reduce command/session logging verbosity?

I have a number of systems that rely on application-level mirroring to a secondary server. The secondary server pulls data by means of a series of remote SSH commands executed on the primary. The ...
0
votes
2answers
44 views

how to enable scp only on public interface and ssh only in internal interface

Server A has a public ip and a private ip, each on another vlan and thus on another virtual interface. How can I enable scp only on the public ip and ssh only on the private IP, for all users. Kind ...
0
votes
1answer
52 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
132 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
2answers
92 views

Where is the configuration that instructs linux 14.04 to enter single user mode?

I have an EC2 Instance of Ubuntu 14.04 Fails to restart after stop/restart. It was upgraded from 13.x and apparently AWS has the web ui setup to send a 'reboot now' command which instructs 14.04 to ...
0
votes
1answer
52 views

How to prevent syslog message popping in a ssh session without affect other sessions?

i have a machine(RHEL 5.2) which receives syslog message from remote machines. And now it keeps popping message from remote machine in a ssh shell, which is annoying when i want to do something on it. ...
0
votes
0answers
43 views

Distributing Master node ssh key

For the master node to passwordless-ly ssh into the slaves, the master needs to distribute its ssh key to the slaves. Copying key using ssh-copy-id asks for the user password. If there are hundreds of ...
0
votes
2answers
64 views

find and replace multiple files using a file as input to find and another to replace

I need to replace several chunks of text inside some php scripts... i have: find . -name 'products.php' -exec grep --silent 'TEXT_TO_FIND' {} \; -exec ls {} \; -exec sed -i ...
1
vote
2answers
85 views

Locked out of ssh, with no root access

So, I have configured my linux ubuntu 14.04 box for ssh on port 22 with root login via private / public key, no password login. I have iptables setup to block all incoming connections except for ...
-1
votes
0answers
8 views

Hostname missing on Debian 7 Linode after logging in [duplicate]

Linux n00b here running Debian 7.3 on a Linode box. Please bear with me :) I haven't logged into my Linode in a while (3 months?) and when I logged in today via SSH I noticed the hostname is missing: ...
-1
votes
0answers
15 views

Newly setup Centos 6 server, cloning from .GIT as user other than ROOT [duplicate]

Apologies for being so new and lost, i'm brand new to all of this and the more I search the more I feel I'm getting closer, but then realize i'm lost. I setup a CentOS 6 server on an Amazon E2 ...
15
votes
2answers
650 views

Does Rsync Allow Files To Be Synced Both Ways?

I have backed up a linux web server using rsync with cygwin. I now have a perfect copy of the server on my windows laptop. If i delete or modify a file on my laptop and run rsync again with cygwin ...
0
votes
3answers
87 views

Tail a file from ssh and mirror to a local file

To tail a file over ssh, I can use ssh -t remotebox "tail -f /var/log/remote.log" However, it is possible to sync the tail with a local file? So a file automatically mirror the update of the tail ...
0
votes
2answers
78 views

Forward SSH request to an External Server to an Internal Server

I have a VM config currently where I have 1 external IP pointing to a VM with an Nginx HTTP Reverse proxy serving HTTP Web Pages from several internal VMs without external IPs. I need a similar setup ...
6
votes
2answers
267 views

Manage SSH Users with MySQL backend

is there a possibility to use a (mysql) Database to manage SSH login credentials instead of /etc/passwd ? I know I could use ldap but I only want simple user management and ldap seems a little bit ...
0
votes
3answers
57 views

Is there a command for allowusers in sshd?

Is there a command to allow / deny users in OpenSSH server (sshd)? I know you can add AllowUser / DenyUser in the sshd_config and reload the server but I'm trying to come up with a generic way that ...
-3
votes
1answer
280 views

SSH - Connection refused [closed]

I have setup on a server VMware ESXi 5.5.0. I have add the operating system Oracle Linux 5 I'm trying to setup ssh for local computers that runs on Ubuntu. But I get the error Connection refused. I ...
1
vote
1answer
100 views

Securely copying files between two remote servers

I am trying to copy (scp) files from one remote server to another remote server. The remote servers are running Ubuntu and are using SSH authentication. The servers synchronise with LDAP, and all ...
0
votes
0answers
108 views

Multiple Reverse SSH Tunnels using Single Port

I am able to accept reverse SSH connections from multiple remote systems on a single server using a port for each connection: Remote A: ssh -fN -R5000:localhost:22 user@server-ip -p22 Remote B: ssh ...
0
votes
1answer
49 views

ssh session dies after three hours on inactivity

I usually leave my PuTTY terminal window open during the day and lock the screen when I go to lunch or leave to go offsite. Lately though when I come back, my ssh session had died. Even though I use ...
0
votes
1answer
46 views

How do I force sftp user to start in their home directory

I am using RHEL6 and I set up an sftp server through sshd. Here is the relevant sshd config: Match Group sftpusers ChrootDirectory /sftp/%u ForceCommand internal-sftp X11Forwarding no ...
2
votes
1answer
169 views

How do you configure X11 forwarding over SSH on AIX?

Here is what I've tried. I've edited /etc/ssh/sshd_config on the remote AIX system X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes as well as set $DISPLAY DISPLAY=localhost:10.0 export ...
2
votes
1answer
117 views

Make sshd listen to a specific interface

On my machine I'm using OpenVPN which use the tun0 interface. I want sshd to listen only on this interface. I know, I can specify the IP address to listen to in /etc/ssh/sshd_config with a ...
1
vote
1answer
120 views

How to configure SSH client timeout after network failure?

Let's say I connect from a client to a server via SSH, and in the middle of the session I pull the server's network cable. On the client, the ssh connection stays alive for around 15 minutes before ...
-2
votes
1answer
121 views

The authenticity of host “host” can't be established [closed]

I'm running a web app on a Linux server which connects to other servers. When I run the project on my Play framework on loclhost it runs fluently. When I run it on my Linux server I get the above ...
0
votes
1answer
187 views

MaxStartups and MaxSessions configurations parameter for ssh connections?

I am copying the files from machineB and machineC into machineA as I am running my below shell script on machineA. If the files is not there in machineB then it should be there in machineC for sure ...