0
votes
0answers
14 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 ...
1
vote
1answer
181 views

Trouble changing SSH port

I'm running a CENTOS web server with WHM and CSF firewall. I'm trying to change SSH from the default port. I've opened up the port in CSF and modified /etc/ssh/sshd_config uncommenting the port line ...
2
votes
1answer
88 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 auth set up to login from client to server. When I run the server like: sudo `which sshd` -d Everything works as expected; I don't ...
1
vote
1answer
68 views

ssh won't start >>/dev/null 2>>/dev/null

I am running a CentOS 6 server and I have issues with SSH. My SSH service won't start anymore. I do only have access to some tools using Direct Admin. At first I couldn't connect to SSH it gave me ...
0
votes
1answer
56 views

Changed file and now I cannot access my SSH anymore

I was trying to get my dedicated server to have a couple of VPS's installed using this tutorial: http://linux-vserver.org/Installation_on_CentOS In the process I had to change a file: ...
2
votes
1answer
57 views

SSH Mounted Drive, home directory for websites changed

A week or so ago I had a new hard drive added onto my dedicated server for additional storage because I am placing a video site up on the server and will be storing a lot of videos. So I wanted to ...
1
vote
3answers
60 views

Why would TCP wrappers stop working for sshd?

On a couple of CentOS 5 servers sshd seems to have become 'unwrapped' - previously I was using TCP wrappers and hosts.allow/hosts.deny to control access, but these are now not being used. If I execute ...
1
vote
2answers
59 views

CentOS ssh connection stalls after server bandwidth upgrade

I have a few linux servers inside a customer that recently MASSIVELY increased his bandwidth - from about 0.8/5mbps to 25mpbs/100mbps... (yes 100mpbs!) this is very good, but ever since my ...
2
votes
2answers
79 views

SSH authentication between my VPS and Bitbucket fail

I'm trying to setup SSH authentication between my VPS and Bitbucket for configure later automatic deployment via Capistrano (for web projects) and Capifony (for Symfony2 projects) so I follow this ...
0
votes
1answer
689 views

SSH problems - server unexpectedly closed network connection

Since yesterday I have problems connecting to my server using SSH/SFTP. I can only connect after a restart of my server. When I try to make a connection after a couple of minutes, I can no longer make ...
0
votes
0answers
167 views

“Network error: connection refused” when trying to SSH to guest VM

CentOS 6.5 host, CentOS 6.5 guest. Using kvm. VM gets a local IP from the virbr0 interface. I've set up some port forwarding in iptables. port 80 forward works, but my SSH forward does not. ...
-1
votes
1answer
198 views

SSH “Server refused our key” for all users except root user [closed]

I followed this tutorial and key authentication worked great for root. but when I created user xxx and added different key in authorized_keys and tried to login using putty where error was shown " ...
1
vote
1answer
180 views

Why does my command stop when I exit SSH? [closed]

I am running the following command in a loop (without notable memory leaks) as a cPanel user: nohup php ~/www/app/console.php run clean 1> /dev/null 2> ~/www/logs/run_clean.log & But when ...
1
vote
1answer
41 views

CentOS VPS : how to enable PermitRootLogin

While logged-in in to "root" via ssh I disabled PermitRootLogin setting in /etc/ssh/sshd_config file. It was advised to do so in the Cpanel's security adviser. Now I want to re-enable it for short ...
0
votes
1answer
265 views

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 ...
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
100 views

Run pam_exec after home directory creation CentOS 6

How can I make a pam_exec script in /etc/pam.d/sshd run after the home directory has been created? I am on CentOS 6.5 and use network accounts via PBIS / Likewise-Open. Right now, if a new user ...
-1
votes
1answer
64 views

How to add Public IP to Cent OS [closed]

I am trying to configure a Public(Static) IP in Cent OS 6.4. For this, I made a copy of eth0(added local IP, so that I can connect the system to Internet) and named it to eth0:0(added Public IP, so ...
0
votes
1answer
66 views

SSH painfully slow on my local network?

I have a CentOS 6-x64 Server running through VirtualBox on Windows Server 2012R2, but whenever I SSH into it, it's painfully slow. This happens for both Putty on Windows, and SSH on OS X. I've read ...
2
votes
3answers
130 views

Disabled root login for SSH in Centos 5.9, key login no longer working

I have a Centos 5.9 server which I have previously configured to access via SSH key login and this has been working fine for many months. I recently had to have an issue resolved remotely which ...
0
votes
1answer
119 views

SSH to local without password

We have some scripts that need to rsync without entering a password. I am trying to SSH to a local machine (itself). I cannot get it to work. It is always asking me for a password. It works fine ...
0
votes
1answer
82 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
76 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
0answers
135 views

Linux TACACS+ auth for SSH but allow users to use public key auth

we have running tacacs environment for centralised login to our routers, firewalls etc and even most of our linux boxes to ssh what we would like to do is allow users to authenticate to SSH via ...
-2
votes
1answer
70 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 ...
3
votes
1answer
1k views

OpenSSH on Centos 6.5 [closed]

I have a new (first time) CentOS 6.5 server being used for a web server. Our security team has identified the following weakness: The SSH server is configured to allow either MD5 or 96-bit MAC ...
0
votes
1answer
50 views

error while trying to empty a directory

I try to empty a folder (/var/lib/php/session/) with putty on ssh, but I does not work. I do not know what goes wrong. This is the command I use: rm -rf /var/lib/php/session/* Every time I run ...
0
votes
1answer
92 views

ssh warning message missing file issue

When I log into ssh (centos 6.5 64bit) Can't locate warnings.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl ...
0
votes
1answer
305 views

Centos set default ftp directory for a user

I am setting up accounts for people to connect to the server through ssh and SFTP. When I test the login, it goes straight to the "/" directory, and I do not want that to happen. I want to make it so ...
1
vote
1answer
202 views

Chroot issue, broken pipe

I need to give access to a developer to our server vía ssh. I hosted his web on /home/miuser and some other web applications in /home/... I have this config in my Subsystem sftp internal-sftp Match ...
0
votes
1answer
112 views

Log files too large and can not login to plesk

I am on a vps platform at Media Temple. Yesterday when i tried to log in via pleask, the message below appeared .... ERROR: Zend_Db_Statement_Exception: SQLSTATE[HY000]: General error: 1030 Got error ...
0
votes
1answer
103 views

CentOS 6.4 - Can't push git using public / private keys

Problem: Can't push using Git from Windows to Linux. Also can't connect to git user over ssh. Update #1: I changed "PasswordAuthentication" to no and tested. Key did not work, but password did. ...
2
votes
2answers
500 views

Setup public key authorized SSH for non-root users

I was able to setup ssh login using public keys for root users and tried to apply the same logic for non-root users. I have tried to troubleshoot this issue in vain. I am using centos for both my ...
0
votes
2answers
64 views

Apache2 starting, then port fails to bind

I have centOS 6.4 64bit and apache2 (httpd) installed. I do: /etc/init.d/httpd start And Apache starts up fine with just a green [Ok] However; when I try to load any webpages hosted on ...
0
votes
1answer
744 views

Connection closed by remote host followed by Connection refused

All of a sudden my ssh connection to server has been damaged. Here is what's happened: $ ssh -vvv -p <PORT> -l <USER> <HOST> OpenSSH_5.3p1 Debian-3ubuntu7, OpenSSL 0.9.8k 25 Mar ...
0
votes
2answers
190 views

why rsync is not working with crontab?

when I run the following manually it runs perfectly: /usr/bin/rsync -arvth -e "ssh -i /watch/scripts/word.pem" 1.1.1.1:/opt/ /opt when it runs using crontab. I get: Permission denied ...
0
votes
0answers
59 views

Cron Jobs unable to deliver email error report

I am sure I have right syntax and I am still unable to receive report emails to my email address. My OS is CentOS 6.4. My Crontab script is MAILTO="cron@mydomain.com" * * * * * /usr/bin/php5 ...
1
vote
1answer
67 views

Listen multiple ports for SSH and restrict users from live IP

I have a live IP forwarding port 52000 on my RHEL 6.2 server. My server listens to 22 and 52000 for traffic. The setup is working fine. Users from internet are able to login into the system. But I ...
0
votes
2answers
388 views

Filezilla or PuTTY: I have “Access granted” followed by “Server unexpectedly closed network connection”. How to troubleshoot?

Here is an extract of Filezilla debug traces : Offered public key from "(...)" Offer of public key accepted, trying to authenticate using it. Access granted Server unexpectedly closed network ...
2
votes
3answers
208 views

Cannot jail SSH users to any folder other than their home folder

I need some help on this. I'm attempting to jail SSH users into their own folders so that they can SFTP into a server without seeing the filesystem I have following a simple guide online and managed ...
-3
votes
1answer
39 views

Can login in webamin but not via ssh [closed]

I made a few changes to sshd_config now I am unable to login via ssh but able to login in webamin on CentOS 6 based VPS. The problem is with root as well as user. I reversed the changes in ...
0
votes
1answer
265 views

Convert PUB key to PKCS8 format on CentOS?

In Ubuntu, i can convert a Pub key from OpenSSH-format to PKCS8 format by command: ssh-keygen -e -f .ssh/id_rsa.pub -m PKCS8 But in CentOS 6.4, when i execute the same command, it notice: ...
1
vote
2answers
70 views

SSH connection hangs but eventually connects

I have a CentOS 6.4 server sitting right next to me (same subnet and everything) and when I try to connect to it from another machine via SSH it hangs for about 10 seconds until finally prompting for ...
-1
votes
1answer
345 views

CentOS 6.4 : Cannot login as root ssh anymore [duplicate]

When I enter the password it gives me the following error: login: root Password: My-password Login incorrect I have tried SSH via Putty as well as WinSCP. I get Network Error: Connection refused. ...
1
vote
2answers
53 views

enabling shell access for cyrus user

My current cyrus user in /etc/passwd looks like this: cyrus:x:76:12:Cyrus IMAP Server:/var/lib/imap:/sbin/nologin I want to be able to give it shell access but restrict it to /var/lib/imap and ...
0
votes
1answer
184 views

Frequent interruptions of SSH connection to VPS

My SSH sessions die at what seem like random times - response will stop, and then a few seconds later PuTTY will pop up a message with, "Server unexpectedly closed network connection." It seems to ...
1
vote
2answers
315 views

What do these entries in my SSH logs mean? [duplicate]

I recently noticed that I have entries from an unknown IP address in my SSH logs. I performed a grep to extract all entires that didn't contain my own IP address. I was presented with this: Jul 24 ...
-1
votes
1answer
115 views

How can i kill all process except sshd and networking in Linux [closed]

I want to restore my Linux from backup. I searched the internet and find that i have to kill process except SSHD and Networking and chkconfig to start the restore command which is basically ...
2
votes
0answers
648 views

Gitlab - Cannot: create new project, list team members, add SSH keys or clone / push

I have just installed Gitlab on my Centos 6.4. At first glance everything seems to be working fine but for some reason, I have the following issues...: Add a new project : (Similar issues when ...
0
votes
2answers
141 views

Centos SSH Access- Changed the SSH port now I cant access server

I think I just screwed up - I changed my VPS's SSH access port from 5252 to 48001, now I cannot login. I changed it in the IPtables(/etc/sysconfig/iptables), I literally just changed the port number ...