0
votes
1answer
43 views

OpenSSH and heartbleed? [duplicate]

I just updated a Debian Wheezy server for the first time today, after the heartbleed bug. OpenSSL is not installed on this server, so I thought the server was not affected, and therefore it was put on ...
-3
votes
2answers
41 views

remote ssh not being allowed [on hold]

I had a 3rd party company harden our server. I now need my server host to update our ssl certificate but they cannot ssh in to do so. I will not even let them enter a username and password. Now ...
2
votes
1answer
35 views

How to reset self-signed keys that allow remote shell access to server in (Debian) linux

This is not something I've ever had to do before, and in light of the heartbleed bug I've been looking for a guide of how to do it properly, but all I can find are guides on how to log into a server ...
2
votes
3answers
156 views

Cannot log in into a server by ssh connection

was connected to a server via ssh through port 22, and decided to kill all the users connected with the root user with the following command: pkill -9 -u root Now when I try to log in by ...
0
votes
1answer
66 views

Number of SSH connections rises, and blocks data?

We have a client server setup, where the client sets up an SSH tunnel and uses port forwarding to send data to the server: ssh -N -L 5000:localhost:5500 user@serveraddress The normal number of SSH ...
0
votes
0answers
25 views
+50

Enable Jailshell Access from Command Line

There is an option in whm/cpanel to enable jailshell access for any hosting account. I want to know if it is possible to enable that option for any or all cpanel hosting accounts through command ...
1
vote
1answer
26 views

SFTP password wrong from remote, but not from local

From my server, connecting to it via eth0 (not localhost), I can connect via SFTP: Apr 9 10:02:40 domain sshd[11526]: Accepted password for test from 1.x.x.x port 45335 ssh2 From a remote ...
1
vote
1answer
30 views

LImiting overall memory usage for child processes

I have a long-running script that launches several child processes on a Linux machine with 8GB of memory. After a few hours of running, it takes up nearly 90% of memory, and this makes other services, ...
1
vote
1answer
121 views
+50

Understand wireshark capture for ssh key exchange

I need to understand SSH key exchange, I have tried to read RFC document but it seems very difficult to understand so I have captured packets using wireshark ,I found various packets for ssh ...
0
votes
2answers
40 views

Environment variables are unavailable when running scripts over ssh

Suppose I have two hosts: A and B with users a and b. B is Windows machine with Cygwin installed, if this matters. B is configured to be accessed from A through SSH without password (it contains A's ...
20
votes
1answer
617 views

Why does sshd(openssh) create two processes per connection?

before login: $ ps -elf | grep sshd 5 S root 26135 1 0 80 0 - 13115 ? 17:26 ? 00:00:00 /usr/sbin/sshd 0 S test 26480 21337 0 80 0 - 4154 - 18:41 pts/27 ...
1
vote
0answers
30 views

Slow first login to a AD-joined Samba box

I have joined my first Debian box to an Active Directory (2008 R2). It works, I can log in with AD credentials, browse Samba shares. There is just a problem with the time it takes for someone to log ...
0
votes
0answers
26 views

CentOS - can't disable password authentication [duplicate]

I have Linux Mint on my local machine and CentOS release 6.5 (Final) on VirtualBox, and I'm trying to set up public key authentication via ssh-keygen -t dsa. The problem is that when after all I type ...
0
votes
0answers
18 views

rdiff-backup --remote-schema does not take input

I'm trying to set up rdiff-backup between my windows host machine and my remote linux machine. I'm using Windows 8.1. SSH and rdiff-backup is indeed within the PATH environment variablle... With the ...
1
vote
2answers
41 views

Forwarding X11 with one hop without X-server installed

problem I want to run X-applications remotely on a machine C from my client A. The only way to connect to this machine is by using machine B (firewall) as a hop: A --> B --> C So far, simple ssh ...
1
vote
1answer
25 views

Change openssh default PATH

I am trying to execute a command from ssh directly and I need to change the PATH of the directories. > ssh myserver 'echo $PATH' myuser@myserver's password: /usr/local/bin:/bin:/usr/bin I am ...
2
votes
1answer
239 views

What could cause *every* command in RHEL to be executed by root?

Recently I was asked to look at a system for a "friend" that left me completely stumped. Their original problem stated to me: They have a RHEL 5.10, gnome desktop fairly typical install They are ...
1
vote
0answers
19 views

LXC and proxying port 22 (ssh)

I have installed LXC on my Ubuntu 12.04 server and have created a couple of containers. I have only 1 external IP address, thus I am using nginx on my host machine to proxy HTTP requests from certain ...
-1
votes
1answer
38 views

establish passwordless login without asking the user [duplicate]

On Linux when using dsa keys I establish passwordless login with the command ssh-copy-id -i .ssh/id_dsa.pub user@target.host This prompts the user for user's password on target.host. My script ...
0
votes
1answer
39 views

Linux Active Directory Authentication without domain name?

Is there a way of authentication Linux users to Windows Active Directory without using the server domain name. Currently the syntax that I use to log in is this ssh Domain\user@ipaddress all I want ...
2
votes
2answers
148 views

SSH issues: Read from socket failed: Connection reset by peer

I compiled OpenSSH_6.6p1 on one of our server. I am able login via SSH to the upgraded server. But I am not able to connect to other servers running OpenSSH_6.6p1 or OpenSSH_5.8 from this. While ...
1
vote
2answers
48 views

Is the SSH SFTP subsystem required on the managed nodes for Ansible to work?

When I run: ansible all -a "/bin/echo hello" -u myuser I get back: mydomain.myhost.com | FAILED => failed to open a SFTP connection (Channel closed.) The SFTP subsystem is disabled on the ...
0
votes
2answers
43 views

HTTPS SSH Tunnel

Ok so I have a web server, lets call it Server A, which is providing a service via HTTPS. And I have an SSH gateway server, lets call it Server B. Due to firewall rules I cannot access Server A's web ...
-1
votes
1answer
29 views

How to access a file or directory from another server without copying it over? [closed]

Sorry if this is a dumb question. I have my reasons for wanting to do this. I am looking for a way to possibly access directories that are dependencies without actually having to copy them to my ...
1
vote
0answers
30 views

How to launch a SSH tunnel with upstart

I am not very used to sys admin and recently created an SSH tunnel between two servers (on Ubuntu 12.4) with the following command: ssh -fNg -L 3307:127.0.0.1:3306 tunneluser@xx.xx.xx.xx It worked, ...
4
votes
1answer
109 views

SSH client name resolution fails for names that are resolvable

We have a linux box (called jumper) that is used to access servers in a few separate DMZs. Each DMZ has its own subdomain name (e.g. idmz.example.org, jdmz.example.org), and each subdomain has its own ...
3
votes
1answer
107 views

How to make ssh fail if port forwarding fails

I have a bash script that runs ssh to create a port forward, using a command like this: ssh -N -i keyfile -L 1000:localhost:22 *remote_ip* There are occasions where the listen port may be busy, so ...
0
votes
1answer
48 views

Can a user be excluded from /etc/profile.d scripts?

I am having a problem using Rsync/SSH with a specific user for Amanda backups on a server. rsync -e 'ssh -i /var/lib/amanda/.ssh/id_rsa_amdump' -az otherserver:/dir/to/copy /copy/dir I have noticed ...
3
votes
1answer
72 views

X over ssh works for one user but not another

I have a CentOS 6.5 server with the following situation: I can ssh to the root user of this server from a Mac OS X machine. It connects relatively quickly, and allows me to fire off xterm sessions. ...
0
votes
0answers
17 views

python runserver_plus crash with broken pipe after a while

my development server is hosted on google compute engine instance, I'm running the server using python runserver command and it works fine for a while then crashes with Write failed: Broken pipe all ...
0
votes
2answers
65 views

changing ssh port caused refuse to connect

these are the steps I followed to change the default ssh port login to compute engine instance using gcutil ssh cd /etc/ssh sudo nano sshd_config --> changed the port to some number lets say for the ...
2
votes
4answers
67 views

How to migrate ssh key to new CentOS server?

We have lots of scripts that run over ssh through saved (passwordless) key pairs. Both clients and servers are CentOS 6.x.I know that if you get a new client computer (where the scripts are run from), ...
-3
votes
2answers
101 views

My ssh server is down. Now what?

I believe I did something stupid here... Can you help me out? I just updated the config of my ssh server (changed the port). So I decided to restart the server: /etc/init.d/ssh restart. Maybe there ...
0
votes
1answer
35 views

Changing the user after sudo - command over ssh

Im accessing my sever over SSH, with a normal user account. At some point i need to log as root, i have the root and password credentials, but when I invoke the sudo - command the prompt ask me for a ...
0
votes
1answer
61 views

Cent OS webserver unreachable (SSH or HTTP and Ping timeout) after YUM update

I have recently tried to update my Cent OS web server with YUM update which was interrupted. This caused some issues and took there server offline. See the following question for details of this: ...
0
votes
1answer
64 views

rsync doesnt copy all files and folders

I have been scratching my head about this issue now for a few days and some serious googling hasn't uncovered the solution. Basically I am making a full copy of my server, in order to migrate hosts. ...
0
votes
1answer
56 views

SSH Password Failure

I'm having trouble logging into my server via a password, even when I explicitly set the user's password via usermod. I've set PasswordAuthentication yes in my sshd_config and restarted the ssh ...
0
votes
1answer
19 views

GET console error on all pages

Image for reference: http://imgur.com/unGaIXE I'm getting this error on all my pages and I'm not sure what it could be. I took out some code bit by bit to see if there is something in the code ...
0
votes
2answers
103 views

How to view and kill PHP processes?

I'm very new to using SSH and am having trouble finding a way to view and kill PHP processes that are running. When I say "PHP processes," I mean PHP files that were started through the browser, but ...
-2
votes
1answer
36 views

Aborted an update, is my server fine? [closed]

First off let me say I'm new to linux servers. A few minutes ago I tried to update linux, but during the process it asked me if I wanted to start the update, it also said the update could take several ...
0
votes
0answers
43 views

Write failed: Broken pipe even if I use ServerAliveInterval?

This is my ~/.ssh/config file - Host 10.2.1.1 ServerAliveInterval 120 ProxyCommand ssh 10.1.1.1 nc -w1 10.2.1.1 22 I've configured it so that I can bypass the jump server each time I need to ssh ...
0
votes
1answer
54 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
1answer
64 views

Rsync and ssh script

I really dont need ssh keys. The server has good security implemented. I need the script to input the password without user usage/interaction. How can I make this? Its CentOS release 6.5 (Final) ...
0
votes
6answers
76 views

How to run an application continuously in server [closed]

I am using Ubuntu 12.04 server edition. I have access to the server via ssh. My question is how can I run a program through SSH such that it wont be get closed even if I disconnect the ssh. It has to ...
1
vote
1answer
146 views

Rsync command issues, owner and group permissions doesn´t change

I´m trying to set owner and group via rsync and it doesn't seem to be working. This is the command: sudo rsync -rlptDvz --owner=cmsseren --group=cmsseren /home/serena/public_html/ -e ssh ...
0
votes
0answers
38 views

SSH Tunnel not working, but not able to find the point of failure as it worked previously

I am having an odd issue wherein suddenly port forwarding stopped working in a particular scenario for me. By default I need a particular port forwarded on all servers I manage and so I have the ...
-2
votes
1answer
58 views

How to show the actual username instead of nobody in Linux?

I'm trying to find the memory usage for each account on my VPS. I use the "top" command to achieve that but the problem is that it is not showing the actual username for each account. I have four ...
2
votes
1answer
83 views

in openssh, can i specify a command to be executed for every login attempt? [closed]

I get a lot of ssh login attacks and want to reduce them. is there any way i can specify a command for openssh to execute and check its return value and only allow the login attempt if this command ...
-1
votes
2answers
62 views

Not able to login remotely to the custom linux box using root user credentials

I am not able to login to my custom Linux system with the root user credentials as it says access denied. I have reset the root password by logging in via the admin user. The message in the syslog ...
0
votes
1answer
42 views

SSH find directories with uppercase letters [closed]

Using SSH how can I find sub-directories that begin with uppercase letters within a directory and then rename them, including merging if the lowercase named directory already exists? e.g. if there is ...